This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: libtool bug
- From: Jan Nieuwenhuizen <janneke at gnu dot org>
- To: cygwin at cygwin dot com
- Date: Tue, 12 Oct 2004 01:26:06 +0200
- Subject: Re: libtool bug
- Organization: Jan at Appel
- References: <16741.49587.333388.685699@byrd.xs4all.nl>
Han-Wen Nienhuys writes:
> At some point, make issues the following command line,
>
> /bin/bash ../libtool --mode=install /usr/bin/install -c
> libguile-srfi-srfi-1-v-2.la
> /usr/local/lib/libguile-srfi-srfi-1-v-2.la
> libtool: install: warning: relinking `libguile-srfi-srfi-1-v-2.la'
> (cd /home/Hanwen/src/guile-1.7.1/srfi; /bin/bash ../libtool
> --mode=relink gcc -g -O2 -Wall -Wmissing-prototypes -Werror -o
> libguile-srfi-srfi-1-v-2.la -rpath /usr/local/lib -no-undefined
> -export-dynamic -version-info 2:0:0 srfi-1.lo ../libguile/libguile.la
> -lpthread -lgmp -lcrypt -lm )
> libtool: link: warning: `/lib/libgmp.la' seems to be moved
>
> which is translated to the following GCC command line
>
> 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
>
> this fails, because gcc cannot figure out that
> /home/Hanwen/src/guile-1.7.1/libguile-ltdl/.libs/libguile.dll.a is the
^^^^^
I guess that should read
/home/Hanwen/src/guile-1.7.1/libguile/.libs/libguile.dll.a
ie, it seems that libtool drops the ../libguile/ part from
../libguile.la when creating the gcc command line.
Jan.
--
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org
--
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/