__i386__ and cpp
H.J. Lu
hjl@lucon.org
Wed Feb 25 19:37:00 GMT 1998
> 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.
>
Someone said gcc -E != cpp due to the different default input. Here is
one proposed cpp. Can we also install a cpp script in egcs, at least
as a configure option for Linux?
Thanks.
H.J.
----
#! /bin/sh
exec `gcc -print-prog-name=cpp` ${1+"$@"}
More information about the Gcc
mailing list