-nostdinc doesn't remove all system include paths

Alexandre Oliva aoliva@redhat.com
Mon Feb 25 09:45:00 GMT 2002


On Feb 25, 2002, Alexandre Oliva <aoliva@redhat.com> wrote:

> I'm still checking whether this might cause problems to the current
> unified-tree build infrastructure

It does, indeed.  Here's a patch that corrects it.  After it goes in,
target config.caches are rendered useless, and should be cleaned.
Better start off a clean build tree, just to be sure.

If this goes in:

> Index: gcc/ChangeLog
> from  Alexandre Oliva  <aoliva@redhat.com>
> 	* gcc.c (cpp_unique_options): Omit %I if -nostdinc.

I'll make sure this does too:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: nostdinc-gcc-include.patch
Type: text/x-patch
Size: 1786 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20020225/563aa09f/attachment.bin>
-------------- next part --------------

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


More information about the Gcc-patches mailing list