This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]