Scott James Remnant wrote:
They're both trying to deal with platforms like Solaris that don't have a needed-following link loader.
So will libtool do The Right Thing in all circumstances, given the tiny patch to enable link_all_deps=yes on linux and whatever other system has this linker feature?
I believe so, especially if we are conservative about enabling it.
The patch that is in Debian's libtool?
It is? I'll defer to Scott...
If yes, the why in the world are we not using it?
Exactly! :-)
Actually, we need to be careful not to break support for old OS releases. Bob pointed out that Redhat 5 shipped a linker (presumably an old GNU ld) that couldn't follow deplibs without help, so we might want to write a configure time test too. But we can't rely on that too much because it will break cross compiles.
On balance, I think we can start setting link_all_deplibs=no in HEAD for platforms that we can prove will support it. Ideally, the GNU ld case should be keyed off `ld --version` so that we don't break old dists, but other hosts can probably be taken from $host_os version quite safely.
Cheers, Gary. -- Gary V. Vaughan ())_. [EMAIL PROTECTED],gnu.org} Research Scientist ( '/ http://tkd.kicks-ass.net GNU Hacker / )= http://www.gnu.org/software/libtool Technical Author `(_~)_ http://sources.redhat.com/autobook
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/libtool