CPP_PREDEFINES
Steve Snyder
steve_snyder@gilbarco.com
Thu Sep 24 14:32:00 GMT 1998
>J.H.M. Dassen wrote:
>>Dejan Muhamedagic wrote:
>>>imake doesn't work anymore because it depends on the architecture as well
>>>as the platform.
>>
>>This is fixed in egcs ( http://egcs.cygnus.com ).
>
>It has been pointed out to me that this isn't really true. An earlier
>version of egcs (1.0.3 IIRC), had fixed this, but the __i386__ has been
>removed again in 1.1.
>
>In packaging 1.1 for Debian, I noticed a similar problem for alpha:
>gcc/config/alpha/linux.h doesn't put -D__alpha in CPP_PREDEFINES .
>
>While there may be valid reasons for cleaning out CPP_PREDEFINES, I think
>this issue should be addressed in the egcs FAQ, and a suggestion for a
>workaround for imake be included.
A practical example of this problem can be seen in the inability to build
XFree86 v3.3.2.3 for i386 RedHat Linux with v1.1a of the pgcc/egcs compilers.
Because __i386__ is not defined, the symbol LinuxMachineDefines is not resolved,
causing the compile of each source file to fail.
That's Not Good.
More information about the Gcc
mailing list