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: Peter O'Gorman
Subject: Re: AC_LIBTOOL_SYS_DYNAMIC_LINKER "gcc -print-search-dirs" problem
Date: Wed, 13 Sep 2006 23:44:44 +0900


On Sep 13, 2006, at 11:39 PM, Ralf Wildenhues wrote:

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.

unrecognized option on 2.96

Peter





reply via email to

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