From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 11766 invoked from network); 25 Sep 1998 16:12:19 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 25 Sep 1998 16:12:19 -0000 Received: from mail11.digital.com (mail11.digital.com [192.208.46.10]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id MAA26167 for ; Fri, 25 Sep 1998 12:12:18 -0400 Received: from us1rmc.bb.dec.com (us1rmc.bb.dec.com [16.57.16.6]) by mail11.digital.com (8.8.8/8.8.8/WV1.0g) with SMTP id MAA03511 for ; Fri, 25 Sep 1998 12:11:44 -0400 (EDT) Received: from linux01.hlo.dec.com by us1rmc.bb.dec.com (5.65/rmc-17Jan97) id AA21481; Fri, 25 Sep 98 12:05:55 -0400 Received: (from paradis@localhost) by linux01.hlo.dec.com (8.8.7/8.8.7) id MAA15048 for axp-list@redhat.com; Fri, 25 Sep 1998 12:02:45 -0400 From: Jim Paradis Message-Id: <199809251602.MAA15048@linux01.hlo.dec.com> Subject: Re: imake/xmkmf on rh5.1 alpha, egcs1.1b To: axp-list@redhat.com Date: Fri, 25 Sep 1998 12:02:45 -0400 (EDT) In-Reply-To: from "Charl Botha" at Sep 25, 98 12:18:51 pm X-Mailer: ELM [version 2.4 PL25] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > The second problem is that some programs, e.g. xdm and WindowMaker, use > /lib/cpp to parse configuration files. "gcc -E" works on files with the > expected .{c,cc,C,h} (and others) extensions, but when passed a file with > an unknown extension, also does not work, but rather exits with an error > message. > > This problem will have to be looked into somewhat more... Well, gcc *has* a cpp program within it, it's just buried... It's a bit risky, but you could symlink something like: /usr/lib/gcc-lib/alpha-redhat-linux/egcs-2.90.27/cpp to /lib/cpp and it should behave as expected. [the reason it's risky is that the pathname isn't constant; if you install a different version of gcc you need to update the symlink as well...] -- Jim Paradis (paradis@linux01.hlo.dec.com) "The early bird gets the worm. Compaq Computer Corporation If you want something else for (508)841-3243 breakfast, get up later." http://www.tiac.net/users/jrp/index.html