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.