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 |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <027501c18288$29f045a0$0200a8c0@lifelesswks> |
From: | "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au> |
To: | "Teun Burgers" <a DOT rburgers AT freeler DOT nl>, <cygwin AT cygwin DOT com> |
References: | <3C167480 DOT 8CDE5A06 AT freeler DOT nl> |
Subject: | Re: gcc -mno-cygwin creates cygwin executables! |
Date: | Wed, 12 Dec 2001 08:09:46 +1100 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 6.00.2600.0000 |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
X-OriginalArrivalTime: | 11 Dec 2001 21:09:46.0213 (UTC) FILETIME=[293D4950:01C18288] |
=== ----- Original Message ----- From: "Teun Burgers" <a DOT rburgers AT freeler DOT nl> To: <cygwin AT cygwin DOT com> Sent: Wednesday, December 12, 2001 8:02 AM Subject: Re: gcc -mno-cygwin creates cygwin executables! > Christopher Faylor wrote: > > > On Tue, Dec 11, 2001 at 06:47:09PM +0100, Teun Burgers wrote: > > >1) gcc -mno-cygwin searches for libs in /usr/lib. > > > Should it? > > > It shouldn't, but it does. Changing this requires a complicated change > > to 'ld'. I don't think that anyone is contemplating such a change. > > > > The only alternative is to use the mingw version of the tools. > > I can think of a few other perhaps simpler alternatives. > > 1) Move the pthread functions from libcygwin.a to a separate library > libpthread.a instead of libpthread.a being a symlink to libcygwin.a. > That > would fix this particular configure problem I think. This already > works this way I found for libpng.a and libjpeg.a. No, as the pthread functions use cygwin calls that will still link to cygwin. If you wnat a mingw pthread library see the pthread-win32 project. > 2) Put some cygwin specific libraries as libpthread.a in /usr/cygwin/lib > and add /usr/cygwin/lib to the specs? This _might_ do it. Still it requires breaking out the pthread functions, for little benefit and greater overhead. Why not add the win32-pthread functions somewhere and add that to the -mno-cygwin specs? Rob -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |