delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/16/13:01:12

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-Id: <1260986457.8196.1350437205@webmail.messagingengine.com>
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>
MIME-Version: 1.0
In-Reply-To: <413132.35645.qm@web25505.mail.ukl.yahoo.com>
References: <413132 DOT 35645 DOT qm AT web25505 DOT mail DOT ukl DOT yahoo DOT com>
Subject: Re: libtool: link: warning
Date: Wed, 16 Dec 2009 13:00:57 -0500
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019