once we have cpplib...

Joern Rennecke amylaar@cygnus.co.uk
Tue Apr 21 19:10:00 GMT 1998


> > So we have gcc.c look in $(libsubdir) for cpp.  If it finds it, then
> > it invokes the passes in the old way (cpp, cc1).
> 
> That implies we do not want a standa-alone cpp executable.
> (Cpplib linked with a trivial main program cppmain provides basically
> the functionality of the standalone cpp.)
> 
> While doing (yet) another stat is a minor cost, still it seems
> wasteful.

Well, assuming the usual case is that the gcc is invoked without -V ,
we could make a special case for this and skip the check for an existing
cpp.  Or we could even check the version given against the smallest
gcc version that is known to have an integrated cpp/cc1.



More information about the Gcc mailing list