Mail Archives: cygwin/2003/10/22/06:45:30
Well,
so far everything I installed was consistent in terms of
header files between cygwin and mingw, so, yes until now I
do want mingw to search in /usr/include. But I see your
point and maybe I was just lucky (I do not want the linker
to search in /usr/local/lib, though).
Thanks,
Ciao
Tom
-----Original Message-----
From: Gerrit P. Haase
Sent: Wednesday, 22 October, 2003 12:22
To: Demmer, Thomas
Cc: cygwin AT cygwin DOT com
Subject: Re: Slight gcc -mno-cygwin inconsistency
Thomas wrote:
> Hi all,
> no idea if this really belongs here or on the MinGW list:
> gcc searches
> #include <...> search starts here:
> /usr/local/include
> /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/include
> /usr/include
> /usr/include/w32api
> whereas gcc -mno-cygwin searches in
> #include <...> search starts here:
> /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/include
> /usr/i686-pc-mingw32/include
> /usr/include/w32api
> It would be convinient if gcc searched /usr/local/include in both
> cases, mostly supporting my lazyness in
> CC='gcc -mno-cygwin' ./configure; make cycles.
You won't use cygwin headers in /usr/local/include when using -mno-cygwin.
Want you? It will search /usr/local/include/mingw iff it is there.
Actually the search list is much longer:
GNU C version 3.3.1 (cygming special) (i686-pc-cygwin)
compiled by GNU C version 3.3.1 (cygming special).
GGC heuristics: --param ggc-min-expand=47 --param ggc-min-heapsize=32708
ignoring nonexistent directory "/usr/local/include/mingw"
ignoring duplicate directory "/usr/include/mingw"
ignoring duplicate directory "/usr/i686-pc-mingw32/lib/../../include/w32api"
#include "..." search starts here:
#include <...> search starts here:
/usr/include
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/include
/usr/i686-pc-mingw32/include
/usr/include/w32api
End of search list.
Gerrit
--
=^..^= http://nyckelpiga.de/donate.html
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -