* rc on MkLinux (or anything with a ppc and gcc)
@ 1996-11-01 15:32 Brian Ward
0 siblings, 0 replies; only message in thread
From: Brian Ward @ 1996-11-01 15:32 UTC (permalink / raw)
To: rc
I have a couple of hints for anyone wanting to use rc on this config.
First and foremost, don't use the libc that comes with the DR2, get the
newest from the Updates/libs directory. Among other things, readdir() was
broken in the old one.
Second, they did something strange with va_list for the PowerPC gcc
compiler- made it into a one-element array for some reason which I'd rather
not know. So, to get past that (print.c doesn't compile), use a stupid hack
like the one in the patch I'm appending to the end of this message.
Third, use /usr/src/asm/signal.h for sigmsgs.c, as usual with Linux.
Anyway, as usual, thanks to Byron and everyone else who's done work on the
port, it's really a better life when you don't have to use something which
I'd prefer not to think of for a shell. Really.
276,277c276,277
< saveargs = format->args;
< format->args = ap;
---
> saveargs[0] = format->args[0];
> format->args[0] = ap[0];
280c280
< format->args = saveargs;
---
> format->args[0] = saveargs[0];
307c307
< format.args = ap;
---
> format.args[0] = ap[0];
351c351
< format.args = ap;
---
> format.args[0] = ap[0];
364c364
< format.args = ap;
---
> format.args[0] = ap[0];
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-11-01 16:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-11-01 15:32 rc on MkLinux (or anything with a ppc and gcc) Brian Ward
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).