autoconf
[Top][All Lists]
Advanced

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

Re: Poartble use of shared libraries when linking executables


From: Albert Chin
Subject: Re: Poartble use of shared libraries when linking executables
Date: Mon, 10 Nov 2003 18:14:15 -0600
User-agent: Mutt/1.4i

On Mon, Nov 10, 2003 at 09:02:43PM +0100, Hrvoje Niksic wrote:
> I found a discussion about portable use of shared libraries on this
> list:
> 
>     http://mail.gnu.org/archive/html/autoconf/2002-05/msg00124.html

Ick.

> Despite the apparent consensus that AC_LIB_LINKFLAGS should be added,
> I cannot find it in 2.57.  Has the macro undergone significant
> changes, or is it simply not in yet?
> 
> I'm interested because I'd like to use it in Wget, which currently
> uses libtool for linking.  While this solution works, it is quite
> heavyweight, especially with libtool 1.5, which contains an incredible
> number of unnecessary checks (e.g. for every FORTRAN compiler under
> the sun).  Also, libtool sometimes breaks on architectures it was not
> well tested on, which in turn causes Wget to not build.  Since Wget
> doesn't even *use* the functionality of libtool, except for setting up
> rpath, it would be nice to get rid of the dependency.

A patch has already made it into libtool 1.5.x to fix the above
problem. I think the libtool developers are working towards a 1.6
release in sync with automake 1.8 and possibly autoconf 2.59.

The solution is libtool. I'm sure the libtool list would be interested
in any problems you find.

-- 
albert chin (address@hidden)




reply via email to

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