delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/19/20:41:24

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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: Sun, 20 Mar 2005 13:39:13 +1200
From: Danny Smith <dannysmith AT clear DOT net DOT nz>
Subject: Re: Problem including float.h with gcc -mno-cygwin (Danny can you comment?)
To: Cygwin <cygwin AT cygwin DOT com>
Reply-to: Danny Smith <dannysmith AT users DOT sourceforge DOT net>
Message-id: <000901c52ced$acf054f0$a06d65da@DANNY>
MIME-version: 1.0

cgf wrote:
>On Sun, Mar 20, 2005 at 09:21:42AM +1200, Danny Smith wrote:
>>On native mingw build I get this:
>>
>>#include "..." search starts here:
>>#include <...> search starts here:
>> D:/MINGW/BIN/../lib/gcc/mingw32/3.4.3/../../../../include
>> D:/MINGW/BIN/../lib/gcc/mingw32/3.4.3/include
>> D:/MINGW/BIN/../lib/gcc/mingw32/3.4.3/../../../../mingw32/include
>> /mingw/lib/gcc/mingw32/3.4.3/../../../../include
>> /mingw/include
>> /mingw/lib/gcc/mingw32/3.4.3/include
>> /mingw/lib/gcc/mingw32/3.4.3/../../../../mingw32/include
>> /mingw/include
>>End of search list.
>>
>>As far as I can remember  (gcc 2.95.3)  the mingw include dir has preceded the
>>gcc include dir.
>
>In the above, the mingw directory is intermixed multiple times with the
>gcc include directory.  Unless I'm missing something, if cygwin and
>linux are any indication, that's sort of unusual.
>

Duplicate entries do not get removed because the code that does that depends on
working inode numbers.  mingw has an unusual file system

Some of the duplicates are there because they derive from the prefix as set
during build, while others (the once that start with D:/MINGW/BIN derive from
the make-relative-prefix relocations

The first include of /mingw/include
(D:/MINGW/BIN/../lib/gcc/mingw32/3.4.3/../../../../include)
is actually the LOCAL_INCLUDE_DIR, which on mingw is constructed by sed to be
relative to EXEC_PREFIX.

Danny

>cgf



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


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019