Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <416B2425.3080001@cwilson.fastmail.fm>
Date: Mon, 11 Oct 2004 20:24:05 -0400
From: Charles Wilson <cygwin@cwilson.fastmail.fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616 MultiZilla/1.6.4.0b
MIME-Version: 1.0
Cc: cygwin@cygwin.com
Subject: Re: libtool bug
References: <16741.49587.333388.685699@byrd.xs4all.nl>	<1968842951.20041008015659@familiehaase.de>	<41662639.3030306@cwilson.fastmail.fm>	<87d5zt4r3g.fsf@peder.flower>	<657467259.20041008123554@familiehaase.de>	<41671F91.8020508@cwilson.fastmail.fm>	<87ekk8qina.fsf@peder.flower>	<41687576.5000408@cwilson.fastmail.fm>	<41687CFB.8030302@cwilson.fastmail.fm>	<87mzytboa0.fsf@peder.flower>	<16746.54438.748058.786459@byrd.xs4all.nl>	<416B0EB0.6000804@cwilson.fastmail.fm> <16747.4608.492065.374530@byrd.xs4all.nl>
In-Reply-To: <16747.4608.492065.374530@byrd.xs4all.nl>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Han-Wen Nienhuys wrote:

> Evidently, this fails, because  libguile.dll.a lives in
> /home/Hanwen/src/guile-1.7.1/libguile/.libs; however,
> running GCC with
> 
>   -L/home/Hanwen/src/guile-1.7.1/libguile/.libs -lguile
> 
> does work, so libtool is incorrectly translating the commandline.
> I take that I don't need to run GCC with  -Wl,verbose  ? 
> 

/home/Hanwen/src/guile-1.7.1/libguile/.libs
/home/Hanwen/src/guile-1.7.1/libguile-ltdl/.libs

Hmmm...it appears the real problem is the renaming of the source 
directory, from libguile to libguile-ltdl.  I've seen libtool do that 
sort of thing for single .c files (creating new versions of foo.c as 
.libs/foo-ltdl.c, etc.  It does this when compiling different versions 
of the same file with different AM_CFLAGS) but I have NEVER, EVER seen 
it rename a directory.

This smells like a Makefile.am bug, or an automake bug, actually...

Where is this -ltdl coming from?  (If it's a typo in transcribing the 
original terminal display into your email, then PLEASE clarify that or 
we'll be going in circles).

--
Chuck


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

