delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/04/14:32:56

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
To: cygwin AT cygwin DOT com
Subject: Re: Using -mno-cygwin flag
Mail-Copies-To: never
Reply-To: sds AT gnu DOT org
X-Attribution: Sam
X-Disclaimer: You should not expect anyone to agree with me.
From: Sam Steingold <sds AT gnu DOT org>
In-Reply-To: <20050504174125.GW24661@trixie.casa.cgf.cx> (Christopher Faylor's message of "Wed, 4 May 2005 13:41:25 -0400")
References: <20050504171940 DOT GU24661 AT trixie DOT casa DOT cgf DOT cx> <SERRANOIv6EybqfAj8100000207 AT SERRANO DOT CAM DOT ARTIMI DOT COM> <20050504174125 DOT GW24661 AT trixie DOT casa DOT cgf DOT cx>
Mail-Followup-To: cygwin AT cygwin DOT com
Date: Wed, 04 May 2005 14:30:39 -0400
Message-ID: <ull6uyhbk.fsf@gnu.org>
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt)
MIME-Version: 1.0

> * Christopher Faylor <pts-ab-crefbany-ercyl-cyrnfr AT pltjva DOT pbz> [2005-05-04 13:41:25 -0400]:
>
> On Wed, May 04, 2005 at 06:34:46PM +0100, Dave Korn wrote:
>>----Original Message----
>>>From: Christopher Faylor
>>>Sent: 04 May 2005 18:20
>>
>>
>>> as to ignore correctly installed libraries.  You just have to put the
>>> libraries and headers in locations that are searched when -mno-cygwin
>>> is used.  Those locations are distinct from the locations used when
>>> -mno-cygwin is not provided -- for frighteningly obvious reasons.
>>> 
>>> "/usr/i686-pc-mingw32/include" and "/usr/i686-pc-mingw32/lib" would be
>>> the place to put the headers/libraries.
>>> 
>>> /usr/include/mingw is also searched for the header files.  I don't
>>> remember if /usr/local/lib/mingw is searched for library files.
>>
>>.... but anyone can easily find out for themselves, using the command "gcc
>>-mno-cygwin -print-search-dirs"  (and for interest's sake, compare it to the
>>output you get without -mno-cygwin).
>>
>>  Hm.  Why should "gcc -mno-cygwin" be looking in /lib and /usr/lib, where
>>it's only likely to find cygwin libraries?  That looks a bit wrong to me....
>
> Not only is it wrong, it has been mentioned as a problem here before.

<http://article.gmane.org/gmane.os.cygwin:61279>

-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.palestinefacts.org/> <http://www.honestreporting.com>
<http://www.iris.org.il> <http://www.openvotingconsortium.org/>
If at first you don't suck seed, try and suck another seed.

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