From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9885 invoked by alias); 11 Dec 2001 21:03:32 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Received: (qmail 8787 invoked from network); 11 Dec 2001 21:02:08 -0000 Received: from unknown (HELO porgy.srv.nld.sonera.net) (195.66.15.137) by sources.redhat.com with SMTP; 11 Dec 2001 21:02:08 -0000 Received: from qn-213-73-163-94.quicknet.nl ([213.73.163.94]:1065 "EHLO freeler.nl") by soneramail.nl with ESMTP id ; Tue, 11 Dec 2001 22:01:30 +0100 Message-ID: <3C167480.8CDE5A06@freeler.nl> Date: Tue, 11 Dec 2001 13:09:00 -0000 From: Teun Burgers X-Mailer: Mozilla 4.78 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: gcc -mno-cygwin creates cygwin executables! Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2001-12/txt/msg00603.txt.bz2 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. 2) Put some cygwin specific libraries as libpthread.a in /usr/cygwin/lib and add /usr/cygwin/lib to the specs? Teun Burgers -- 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/