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: -nostdinc doesn't remove all system include paths


On Feb 25, 2002, Zack Weinberg <zack@codesourcery.com> wrote:

>> user or from the gcc driver.  IMO, when the user passes -nostdinc to
>> gcc, it should not pass any -iprefix or -isystem flags to GCC.  I'm
                                                             ^^^ cpp0

> This seems like a good idea to me, FWIW.

I can't tell for sure whether you're saying that it's a good idea to:

(a) have COMPILER_PATH and -B flags turn into -isystem flags
regardless of -nostdinc (as it is now), or

(b) have -nostdinc disable the passing of these flags (as I have
proposed).

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


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