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

Zack Weinberg zack@codesourcery.com
Sat Dec 22 01:55:00 GMT 2001


On Fri, Dec 21, 2001 at 09:01:19PM +0000, Neil Booth wrote:
> 
> 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.

I'm also off e-mail from now until after the New Year, but I think
this version of the patch is fine, except you need to document the new
switch in the manual (doc/invoke.texi).

zw



More information about the Gcc-patches mailing list