* getting rc to RISC/0S 4.0
@ 1992-07-08 15:43 Dave Mason
0 siblings, 0 replies; only message in thread
From: Dave Mason @ 1992-07-08 15:43 UTC (permalink / raw)
To: The rc Mailing List
Has anybody compiled it successfully on this older version of the OS? This
is rc v1.4beta (Where is the latest & greatest?) compiled without the
editline stuff. I've been running this version (with editline) on a Sun 4
since it came out, but I haven't poked around the sources much.
Thanks ../Dave
I ``unproto''ed it, compiled (with warnings about SIG_DFL, etc. being the
wrong type:
ccom: Warning: walk.c, line 352: illegal pointer combination
if (intr && handler != (int (*)())1)
-------------------------------------^
).
I seem to get different behaviour when I compile it optimized or debugged!
With:
CC=cc -systype bsd43 -tp -h./unproto -B -Dconst= -O
oak:mason> dbx rc
dbx version 2.11
Copyright 1988, 1989 MIPS Computer Systems Inc.
Type 'help' for help.
reading symbolic information ...
[using main.main]
main: 15 initprint();
(dbx) run
rc panic: unexpected node in treecpy!
Program exited with code 1
With:
CC=cc -systype bsd43 -tp -h./unproto -B -Dconst= -O
oak:mason> dbx rc
dbx version 2.11
Copyright 1988, 1989 MIPS Computer Systems Inc.
Type 'help' for help.
reading symbolic information ...
[using main.main]
main: 15 initprint();
(dbx) run
echo foo
Segmentation fault [glom.glom:381 +0xc,0x40508c]
while (words != NULL && (words->type == nArgs || words->type == nLappend)) {
(dbx) where
> 0 glom.glom(0x0, 0x0, 0x0, 0x0, 0x0) ["glom.c":381, 0x40508c]
1 walk.walk(0x1, 0x0, 0x0, 0x0, 0x0) ["walk.c":36, 0x40c040]
2 doit(0x0, 0x0, 0x0, 0x0, 0x0) ["input.c":266, 0x406f6c]
3 main.main(0x7fff9f98, 0x7fff9f9c, 0x0, 0x0, 0x0) ["main.c":85, 0x408710]
(dbx)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1992-07-08 15:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1992-07-08 15:43 getting rc to RISC/0S 4.0 Dave Mason
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).