Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: Han-Wen Nienhuys MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16747.4608.492065.374530@byrd.xs4all.nl> Date: Tue, 12 Oct 2004 01:06:40 +0200 To: Charles Wilson Cc: cygwin AT cygwin DOT com Subject: Re: libtool bug In-Reply-To: <416B0EB0.6000804@cwilson.fastmail.fm> References: <16741 DOT 49587 DOT 333388 DOT 685699 AT byrd DOT xs4all DOT nl> <1968842951 DOT 20041008015659 AT familiehaase DOT de> <41662639 DOT 3030306 AT cwilson DOT fastmail DOT fm> <87d5zt4r3g DOT fsf AT peder DOT flower> <657467259 DOT 20041008123554 AT familiehaase DOT de> <41671F91 DOT 8020508 AT cwilson DOT fastmail DOT fm> <87ekk8qina DOT fsf AT peder DOT flower> <41687576 DOT 5000408 AT cwilson DOT fastmail DOT fm> <41687CFB DOT 8030302 AT cwilson DOT fastmail DOT fm> <87mzytboa0 DOT fsf AT peder DOT flower> <16746 DOT 54438 DOT 748058 DOT 786459 AT byrd DOT xs4all DOT nl> <416B0EB0 DOT 6000804 AT cwilson DOT fastmail DOT fm> Reply-To: hanwen AT xs4all DOT nl cygwin AT cwilson DOT fastmail DOT fm writes: > I wrote: > > This: > > > > gcc -shared .libs/srfi-1.o -L/lib -L/usr/lib > > -L/home/Hanwen/src/guile-1.7.1/libguile-ltdl/.libs -L/usr/local/lib > > -lguile -lpthread -lgmp -lcrypt -o > > .libs/cygguile-srfi-srfi-1-v-2-2.dll -Wl,--image-base=0x10000000 > > -Wl,--out-implib,.libs/libguile-srfi-srfi-1-v-2.dll.a > > > > ought to succeed, IF > > /home/Hanwen/src/guile-1.7.1/libguile-ltdl/.libs > > contains any of the following: > > > > libguile.dll.a > > guile.dll.a > > libguile.a > > cygguile.dll > > libguile.dll > > guile.dll > > > > That's what > > -L/home/Hanwen/src/guile-1.7.1/libguile-ltdl/.libs -lguile > > MEANS, after all. 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 ? -- Han-Wen Nienhuys | hanwen AT xs4all DOT nl | http://www.xs4all.nl/~hanwen -- 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/