bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AC_LIBTOOL_SYS_DYNAMIC_LINKER "gcc -print-search-dirs" problem


From: Ralf Wildenhues
Subject: Re: AC_LIBTOOL_SYS_DYNAMIC_LINKER "gcc -print-search-dirs" problem
Date: Wed, 13 Sep 2006 16:39:06 +0200
User-agent: Mutt/1.5.13 (2006-09-01)

Hello Bob, Kate,

* Bob Friesenhahn wrote on Wed, Sep 13, 2006 at 04:34:52PM CEST:
> On Wed, 13 Sep 2006, Kate Minola wrote:
> 
> >On my x86_64-unknown-linux-gnu system, the m4 macro
> >AC_LIBTOOL_SYS_DYNAMIC_LINKER in libtool.m4
> >uses "gcc -print-search-dirs" to set  sys_lib_search_path_spec.

> I think that this is really a GCC bug.  I have the same problem under 
> Solaris.  Libtool should work around the GCC bug by detecting 64-bit 
> compilation and expanding the search path to look in the 64-bit 
> library directories first.

Would it be semantically correct for libtool to make use of any of
  gcc -print-multi-lib
  gcc -print-multi-directory
  gcc -print-multi-os-directory

?  If yes: which, and for which paths?  It seems of those, only the last
is understood by gcc 3.3; I have not tested earlier versions.

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]