This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libtool: link: warning


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]