delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/30/22:13:17

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
Date: Sun, 30 Dec 2001 22:12:36 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: duplicate regexec/regcomp functions detected
Message-ID: <20011231031236.GA21698@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20011228174956 DOT GA30625 AT redhat DOT com> <003201c1909e$0cef0cb0$0e6307d5 AT BRAMSCHE> <20011230193723 DOT GA13355 AT redhat DOT com> <20011230195643 DOT GA14022 AT redhat DOT com>
Mime-Version: 1.0
In-Reply-To: <20011230195643.GA14022@redhat.com>
User-Agent: Mutt/1.3.23.1i

On Sun, Dec 30, 2001 at 02:56:43PM -0500, Christopher Faylor wrote:
>On Sun, Dec 30, 2001 at 02:37:23PM -0500, Christopher Faylor wrote:
>>On Sat, Dec 29, 2001 at 08:21:43PM +0100, Ralf Habacker wrote:
>>>Ralf Habacker wrote
>>>>The patch for creating libpthread.a is appended. It contains a script names "speclib" and an
>>>additional rule >in the src/winsup/cygwin/Makefile.in.
>>>
>>>I have recognized yet a little problem with the speclib script. I have checked this from the
>>>cygwin build dir without any errors. If someone was in the winsup dir and does a make cygwin
>>>or make, than some command in speclib does not found the input files. The problem is that ar
>>>does not have an -o option for an output dir, so the hack to emulate that does not work.
>>>Perhaps it is better to use the absolute path of the input library, but currently I have no
>>>idea, how to solve this. :-(
>>>Perhaps anyone else have an idea ?
>>>
>>>speclib
>>>
>>>...
>>>cd $tmpdir
>>>$ar x $PWD/$inlib $FILES
>>>cd ..
>>>...
>>
>>I don't know if this helps bug can I suggest an alternate approach?  Use
>>cygwin.din to derive your list of files and do something like:
>>
>>$(LIBPTHREAD_A): speclib new-$(DLL_NAME) cygwin.din pthread.o thread.o
>                                          ^^^^^^^^^^
>                                          cygwin.def

I've actually adapted a shell script to do what I mentioned above.  It
seemed simpler than waiting for the timezone communication lag.  Thanks
for the initial idea and implementation.

I'll have something in tonight's snapshot.

cgf

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019