bug-libtool
[Top][All Lists]
Advanced

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

Re: multilib support


From: Bob Friesenhahn
Subject: Re: multilib support
Date: Sun, 12 Mar 2006 09:53:37 -0600 (CST)

On Sat, 11 Mar 2006, Simon Stelling wrote:

It seems like libtool has some problems on multilib-enabled systems.

When libtool is given a -l argument is tries to find a matching libtool archive by searching through various paths:

for searchdir in '$newlib_search_path' '$lib_search_path' '$sys_lib_search_path' '$shlib_search_path'

I observe the same problems for Solaris SPARC. The problem is that GCC outputs paths which are not decorated for the specified architecture and libtool blindly uses them. If libtool included a test for the architecture, then it could decorate the search paths with the subdirectory where the libraries for that architecture lives. On multilib systems, GCC itself automatically decorates the search path so that the correct libraries are used, but libtool circumvents this automatic support. I think that the problem is a result of a GCC bug, but libtool needs to work with what it is given.

Bob
======================================
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/




reply via email to

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