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: | <04ea01c18303$55406a70$0200a8c0@lifelesswks> |
From: | "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au> |
To: | "a.rburgers" <a DOT rburgers AT freeler DOT nl>, <cygwin AT cygwin DOT com> |
References: | <3C17011D AT freeler-webmail-01> |
Subject: | Re: gcc -mno-cygwin creates cygwin executables! |
Date: | Wed, 12 Dec 2001 22:51:26 +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: | 12 Dec 2001 11:51:25.0853 (UTC) FILETIME=[53E1C4D0:01C18303] |
----- Original Message ----- From: "a.rburgers" <a DOT rburgers AT freeler DOT nl> > > If you want a mingw pthread library see the pthread-win32 project. > > I don't want to force the user to install pthread-win32. > I want this configure script (for fltk btw) to detect correctly whether > threads > are available or not. Hmm. Why not put the win32 api checks in the configure script ahead of pthread? > > > 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. > > I don't see the problem with this. We are not adding libraries as libpng > and libjpeg to libcygwin either are we? cygwin doesn't depend on jpeg or png, it does on pthreads. > > Why not add the > > win32-pthread functions somewhere and add that to the -mno-cygwin specs? > > You mean adding the win32-pthread functions to the standard cygwin mingw > distribution? > That would be perfect of cause! See http://www.cygwin.com/setup.html. You're more than welcome to contribute such a package, and I'd support it's inclusion - as long as it is done carefully so as not to confuse folk who are not using -mno-cygwin. 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 |