rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
From: Brian Ward <bri@blah.math.tu-graz.ac.at>
To: rc@hawkwind.utcs.toronto.edu
Subject: rc on MkLinux (or anything with a ppc and gcc)
Date: Fri, 1 Nov 1996 10:32:16 -0500	[thread overview]
Message-ID: <199611011532.QAA29780@blah.math.tu-graz.ac.at> (raw)

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.

<       saveargs = format->args;
<       format->args = ap;
>       saveargs[0] = format->args[0];
>       format->args[0] = ap[0];
<       format->args = saveargs;
>       format->args[0] = saveargs[0];
<       format.args = ap;
>       format.args[0] = ap[0];
<       format.args = ap;
>       format.args[0] = ap[0];
<       format.args = ap;
>       format.args[0] = ap[0];

                 reply	other threads:[~1996-11-01 16:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199611011532.QAA29780@blah.math.tu-graz.ac.at \
    --to=bri@blah.math.tu-graz.ac.at \
    --cc=rc@hawkwind.utcs.toronto.edu \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).