Changes to gcc 3.x to invoke an external cpp (updated patch)

Neil Booth neil@daikokuya.demon.co.uk
Fri Dec 21 13:28:00 GMT 2001


Ashif S. Harji wrote:-

> the use of the external cpp.  The temporary name for the flag is
> -no-integrated-cpp.

I think that's a good name.  Integrated CPP may in future be the only
CPP; but I don't it's worth quibbling about.

How would your specs have to change if, in future, cc1 handled being
the stand-alone preprocessor as well (so that it handled -save-temps
as well?)  If I understand your needs correctly, would you be able to
get away with renaming your alternative preprocessor to cc1, and then
invoking the true cc1 from it?  I'm not sure whether you would get
into the option parsing quagmire you're trying to avoid.

I'm afraid I'm off e-mail starting around now for almost 2 weeks, so
hopefully Zack or someone else can do a proper review.  Anyway, it
looks promising.

Thanks,

Neil.



More information about the Gcc-patches mailing list