delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/04/13:19:49

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: Wed, 4 May 2005 13:19:40 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Using -mno-cygwin flag
Message-ID: <20050504171940.GU24661@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <20050504091922 DOT GD7475 AT monster DOT octa4 DOT net> <42789D45 DOT 6F74436D AT dessent DOT net> <u1x8nyltl DOT fsf AT gnu DOT org>
Mime-Version: 1.0
In-Reply-To: <u1x8nyltl.fsf@gnu.org>
User-Agent: Mutt/1.5.8i

On Wed, May 04, 2005 at 12:53:26PM -0400, Sam Steingold wrote:
>> * Brian Dessent <oevna AT qrffrag DOT arg> [2005-05-04 03:00:37 -0700]:
>>
>> -mno-cygwin does not just "make things that doesn't depend on the
>> cygwin DLL", it removes Cygwin from the equation entirely.
>
>this is very unfortunate, actually.  things like berkeley-db,
>postgresql, pcre &c all have a native win32 port, and it it a pity that
>-mno-cygwin does not use them.

If you want to use mingw versions of berkeley-db, posgresql, pcre, etc.,
then go ahead and install those versions.  -mno-cygwin is not so magic
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.

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