__i386__ and cpp
Ronald Wahl
Ronald.Wahl@informatik.tu-chemnitz.de
Wed Feb 25 19:12:00 GMT 1998
On Tue, 24 Feb 1998, Jim Wilson wrote:
> __i386__ has been dropped from cpp in 1996. It
> causes a problem for imake since it calls cpp
> directly. It would be nice for egcs 1.0.2 to
> define 386 on all x86 platforms.
> [...]
> We could solve these problems by making the cpp program be a shell script
> that calls `gcc -E' instead of making cpp be a link to the cccp program.
> This script could then do other things to make it look more like the /lib/cpp
> command, such as using -traditional, if this is desirable. This was discussed
> a few months ago, on bug-gcc I think.
I attached a small C program which will do this. I use it for quite some
time without problems.
ron
--
\ Ronald Wahl --- rwa@informatik.tu-chemnitz.de \
\ WWW: http://www.tu-chemnitz.de/~row/ \
\ Talk: rwa@goliath.csn.tu-chemnitz.de \
\ PGP key available by finger to my email address \
More information about the Gcc
mailing list