This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: libtool: link: warning
- From: "Charles Wilson" <cygwin at cwilson dot fastmail dot fm>
- To: "Marco Atzeri" <marco_atzeri at yahoo dot it>, cygwin at cygwin dot com, "Dave Korn" <dave dot korn dot cygwin at googlemail dot com>
- Date: Wed, 16 Dec 2009 13:00:57 -0500
- Subject: Re: libtool: link: warning
- References: <413132.35645.qm@web25505.mail.ukl.yahoo.com>
On Wed, 16 Dec 2009 16:39 +0000, "Marco Atzeri" wrote:
> I suspect the problem is here, on the fortran libs path
> coming as default
>
>
> FLIBS=' -L/usr/lib/gcc/i686-pc-cygwin/4.3.4
> -L/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../.. -lm -lgfortranbegin
> -lgfortran -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32'
>
> there is the strange
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../..
>
> instead of the usual
> /usr/lib
This looks like a bug in libtool, as it parses the output of 'gcc
-print-search-dirs' in order to determine the default lib paths. Take a
look at the contents of libtool.m4, where _LT_SYS_DYNAMIC_LINKER is
defined. Find the matching code in your configure script, and try to
figure out what's going wrong there. I'll take a look once I get to
rebuiding libtool for gcc-4.3.x, but I'm still in the process of pushing
a few patches upstream first.
--
Chuck
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple