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]

Re: Results for 2.97 20010212 (experimental) testsuite on i686-pc -cyg win



> Then I don't think using an -isystem is correct either.  This will cause
> the include order to be:
> 
>  /usr/local/include
>  /usr/include
>  /usr/lib/gcc-lib/i686-pc-cygwin/2.97/include
> 
> rather than
> 
>  /usr/local/include
>  /usr/lib/gcc-lib/i686-pc-cygwin/2.97/include
>  /usr/include
> 
> The intent of most of my recent changes to cygwin.h has been to make
> gcc search the right directories when given options like -mno-cygwin
> or -mno-win32.  In the -mno-cygwin case we never want to search
> /usr/include, so it can't just be a STANDARD_INCLUDE_DIR.

You should be able to do that with specs, but you'd still need to use
-isystem to handle the warnings.  Or add -isystemafter.


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