This is the mail archive of the gcc@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]

Re: once we have cpplib...


> > 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.


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