[Top][All Lists]

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

Re: Linking against indirect dependencies

From: Szombathelyi György
Subject: Re: Linking against indirect dependencies
Date: Wed, 26 May 2004 12:33:57 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; hu; rv:1.6) Gecko/20040113


Bob Friesenhahn írta:

It is not an easy task to intuit which systems require the full linkage list and which will work properly with an abbreviated list. Even older Linux versions require the full linkage list (or several copies thereof!).

A further problem is that libtool doesn't reliably know if a static or shared library will be used by the system linker. If it guesses wrong and a static library is used, then everything breaks since static libraries don't support dependencies.

And what about adding an option to libtool, like --disable-indirect-dependencies (should be shorter, I think), with a correspondig ./configure option, so a brave man can exploit the power of his choosen platform. Maybe make it default on some platforms. Users of this options should be package maintainers, who have greater experience in compiling software and can decide if this option is safely usable.


reply via email to

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