9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] cc and more
@ 2000-06-28 12:41 ` Quinn Dunkan
  2000-06-28 16:23   ` [9fans] Official 9fans Archive Scott Schwartz
  0 siblings, 1 reply; 2+ messages in thread
From: Quinn Dunkan @ 2000-06-28 12:41 UTC (permalink / raw)
  To: 9fans

I'm trying to port some unix programs to plan9, and having some odd problems
with ape/cc and pcc.

: /usr/quinn/c/t; cat >test.c
main(){return(0);}
\x04: /usr/quinn/c/t; ape/cc -v -o test -lc test.c
cpp -D__STDC__=1 -D_POSIX_SOURCE= -N -I/386/include/ape -I/sys/include/ape
test.c | 8c -J -B -J -B -o libap.o 8l -o test -v /386/lib/ape/libap.a test.o
HEADER = -H0x2 -T0x1020 -D0x0 -R0x1000
inuxi = 0 01 0123
fnuxi = 0123 01234567
 0.00 ldobj: /386/lib/ape/libap.a
[ ... loader noise ... ]
??none??: cannot open file: test.o

cc: 8l: 8l 6104:error
: /usr/quinn/c/t;

/sys/src/ape/cmd/cc.c line 198 says

                    append(&cc, changeext(objs.strings[i], "o"));

I changed it to

                    append(&cc, changeext(srcs.strings[i], "o"));

and now things seem to work.  The same applies to pcc.

Also, plan9 won't run during the day.  If I run it when it is still light
outside, I quickly get random suicides, with strange results, including
filesystem corruption, and the occaisional kernel panic.  When I run it after
hours all is fine.  I'm adjusting my sleep schedule accordingly.

I can only think of heat.  It does get quite warm during the day, but linux on
the same machine never has a problem.  Perhaps plan9 uses the hardware or
memory differently that is in some obscure way more sensitive to the heat.

Also, booting plan9 with lilo works just fine, although there is a brief pause
after 'PBS...Plan 9 from Bell Labs'.

And... I'm getting corruption on certain files coming off of dos partitions.
For example, the wrap.tgz update worked fine, but the 06070617.9gz doesn't
come over as a valid gzip (works fine from linux, though).  Someone else on
the list mentioned something that sounded similar.

And I'm happily using /dev/kbdmap since I can only type in dvorak.
Thanks presotto!

Unfortunately it doesn't work with control keys so well, since you can't tell
the difference between '\010' produced by the backspace key and '\010'
produced by ^H, so when you try to map ^H to ^D where it should go, things go
wrong when you hit backspace.  Oh well.

Lastly, is there an official 9fans archive?  I found one that goes back a
little ways on mailgate.org, but maybe there's something better out there...

And really lastly, what happened to ext2srv (or whatever) used on the install
floppy?  It doesn't seem to be in the distribution...


thanks


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [9fans] Official 9fans Archive
  2000-06-28 12:41 ` [9fans] cc and more Quinn Dunkan
@ 2000-06-28 16:23   ` Scott Schwartz
  0 siblings, 0 replies; 2+ messages in thread
From: Scott Schwartz @ 2000-06-28 16:23 UTC (permalink / raw)
  To: 9fans

> Lastly, is there an official 9fans archive?  I found one that goes back a
> little ways on mailgate.org, but maybe there's something better out there...

Since 1993, http://www.cse.psu.edu/~schwartz/9fans/archives



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-06-28 16:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <quinn@necro.ugcs.caltech.edu>
2000-06-28 12:41 ` [9fans] cc and more Quinn Dunkan
2000-06-28 16:23   ` [9fans] Official 9fans Archive Scott Schwartz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).