how do libtool convinience libraries work ?

Thiago Macieira thiago at kde.org
Tue Apr 26 01:57:37 BST 2005


Alexander Neundorf wrote:
>How does libtool actually handle these convinience libs on other
> platforms ?

On Darwin:
 -all_load $convenience

Using GNU ld:
 --whole-archive $convenience --no-whole-archive
(depending on the ld version! must test if it supports the flag)

On Solaris 2:
  -z allextract $convenience -z defaultextract

The rest of the platforms don't support convenience libraries, and a 
direct link of the objects into the destination shared-object file is 
necessary. (i.e., replace $convenience with its component .o files)

-- 
  Thiago Macieira  -  thiago (AT) macieira (DOT) info
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

5. Swa he géanhwearf tó timbran, and hwonne he cóm, lá! Unix cwæð "Hello, 
World". Ǽfre ǽghwilc wæs glæd and seo woruld wæs fréo.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050425/41d3b47b/attachment.sig>


More information about the kde-core-devel mailing list