delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Date: | Wed, 22 Oct 2003 12:21:34 +0200 |
From: | "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de> |
Reply-To: | "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de> |
Organization: | Esse keine toten Tiere |
X-Priority: | 3 (Normal) |
Message-ID: | <711814960565.20031022122134@familiehaase.de> |
To: | "Demmer, Thomas" <TDemmer AT krafteurope DOT com> |
CC: | cygwin AT cygwin DOT com |
Subject: | Re: Slight gcc -mno-cygwin inconsistency |
In-Reply-To: | <8D861ADC5B8FD211B4100008C71EA7DA04F7124E@kjsdemucshrexc1.eu.pm.com> |
References: | <8D861ADC5B8FD211B4100008C71EA7DA04F7124E AT kjsdemucshrexc1 DOT eu DOT pm DOT com> |
MIME-Version: | 1.0 |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |