From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 18754 invoked from network); 24 Sep 1998 09:52:22 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 24 Sep 1998 09:52:22 -0000 Received: from mail.sun.ac.za (mail.sun.ac.za [146.232.128.1]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id FAA07617 for ; Thu, 24 Sep 1998 05:52:43 -0400 Received: from angst.dsp.sun.ac.za ([146.232.147.165]) by mail.sun.ac.za with esmtp (Exim 1.92 #1) id 0zM83k-0006TF-00; Thu, 24 Sep 1998 11:51:36 +0200 Received: from localhost (cpbotha@localhost) by angst.dsp.sun.ac.za (8.8.7/8.8.7) with SMTP id LAA00693; Thu, 24 Sep 1998 11:51:34 +0200 X-Authentication-Warning: angst.dsp.sun.ac.za: cpbotha owned process doing -bs Date: Thu, 24 Sep 1998 11:51:34 +0200 (SAST) From: Charl Botha X-Sender: cpbotha@angst.dsp.sun.ac.za To: Richard Henderson cc: axp-list@redhat.com Subject: Re: imake/xmkmf on rh5.1 alpha, egcs1.1b In-Reply-To: <19980923203616.A17289@dot.cygnus.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 23 Sep 1998, Richard Henderson wrote: > On Wed, Sep 23, 1998 at 04:53:55PM +0200, Charl Botha wrote: > > When doing xmkmf in the toplevel of vnc, the necessary imake > > AlphaArchitecture variable is not set, so none of the right switches for > > the Makefile get set either. > > It sounds like someone is invoking cpp directly, rather than > using gcc -E. The way the preprocessor definitions are created > was rearranged both to be ISO C namespace compliant as well as > allowing ev56 and ev6 to be detected through preprocessor macros. > > Likely just replacing /lib/cpp with a script to invoke gcc -E > (as it should have been in the first place) will do the job. Yes!! This does the trick wonderfully... Richard, please then ignore the mail that I sent to egcs-bugs (about cpp only showing four internal #defines when invoked with -dM). Is the fact that /lib/cpp should in fact be a script calling gcc -E documented somewhere obvious? Thanks again! Charl --------------------------------------------------------------------------- Charl Botha E-Mail cpbotha@sun.ac.za Image Processing and Pattern Recognition Digital Signal Processing Group Department of Electronic Engineering University of Stellenbosch South Africa