From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from blah.math.tu-graz.ac.at ([129.27.150.3]) by hawkwind.utcs.utoronto.ca with SMTP id <24529>; Fri, 1 Nov 1996 11:16:49 -0500 Received: from blah.math.tu-graz.ac.at by blah.math.tu-graz.ac.at (8.7.2/8.7.2) with ESMTP id QAA29780 for ; Fri, 1 Nov 1996 16:32:17 +0100 Message-Id: <199611011532.QAA29780@blah.math.tu-graz.ac.at> To: rc@hawkwind.utcs.toronto.edu Subject: rc on MkLinux (or anything with a ppc and gcc) X-Mailer: Bri's Magic Mailer (v 342.4plokta) Date: Fri, 1 Nov 1996 10:32:16 -0500 From: Brian Ward 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];