delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
From: | "Stephen C. Biggs" <s_c_biggs AT bigfoot DOT com> |
To: | cygwin AT sources DOT redhat DOT com |
Date: | Sat, 16 Dec 2000 21:03:58 -0800 |
MIME-Version: | 1.0 |
Subject: | strange GCC system include search order |
Reply-to: | s_c_biggs AT bigfoot DOT com |
Message-ID: | <3A3BD8BE.32002.12D710C@localhost> |
X-Confirm-Reading-To: | s_c_biggs AT bigfoot DOT com |
X-pmrqc: | 1 |
X-mailer: | Pegasus Mail for Win32 (v3.12c) |
$ gcc --verbose -c foo.cpp Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-5/specs gcc version 2.95.2-5 19991024 (cygwin experimental) /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-5/cpp.exe -lang-c++ -v -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=95 -D__cplusplus -Di386 -D__386__ -D__i386 -D_X86=1 -D__STDC__=1 -D__stdcall=__attribute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) -D__d eclspec(x)=__attribute__((x)) -D__i386__ - D__386__ -D__i386 -D_X86=1 -D__STDC__=1 -D__stdcall=__attribute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x)) -D__i386 -Asystem(winnt) -Acpu(i386) -Amachine(i386) -D__EXCEPTIONS -remap -Acpu(i386) -Amachine(i386 ) -Di386 -D__i386 -D__i386__ -Di686 - Dpentiumpro -D__i686 -D__i686__ -D__pentiumpro -D__pentiumpro__ -D__CYGWIN32__ -D__CYGWIN__ -Dunix -D__unix__ -D__unix -D_WIN32 -DWINNT -isystem /usr/include/w32api list.cpp /cygdrive/d/TEMP/ccMqhWEd.ii GNU CPP version 2.95.2-5 19991024 (cygwin experimental) (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: /usr/include/w32api /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-5/../../../../include/g++-3 /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-5/../../../../include /usr/include /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-5/include /usr/include End of search list. The following default directories have been omitted from the search path: End of omitted list. /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-5/cc1plus.exe /cygdrive/d/TEMP/ccMqhWEd.ii -quiet -dumpbase list.cc -version -o /cygdrive/d/ TEMP/ccmttK3W.s GNU C++ version 2.95.2-5 19991024 (cygwin experimental) (i686-pc-cygwin) compiled by GNU C version 2.95.2-5 19991024 (cygwin experimental). as -o list.o /cygdrive/c/TEMP/ccmttK3W.s Here is my output for gcc --verbose. Why is "/usr/include" in there twice? -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |