From kde-core-devel Tue Apr 26 00:57:37 2005 From: Thiago Macieira Date: Tue, 26 Apr 2005 00:57:37 +0000 To: kde-core-devel Subject: Re: how do libtool convinience libraries work ? Message-Id: <200504252157.38217.thiago () kde ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=111447707430187 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--nextPart2300031.ACesX3XH0E" --nextPart2300031.ACesX3XH0E Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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=20 direct link of the objects into the destination shared-object file is=20 necessary. (i.e., replace $convenience with its component .o files) =2D-=20 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=C3=A9anhwearf t=C3=B3 timbran, and hwonne he c=C3=B3m, l=C3=A1!= Unix cw=C3=A6=C3=B0 "Hello,=20 World". =C7=BCfre =C7=BDghwilc w=C3=A6s gl=C3=A6d and seo woruld w=C3=A6s f= r=C3=A9o. --nextPart2300031.ACesX3XH0E Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQBCbZICM/XwBW70U1gRAiJ9AJ91tPoY9AlGBgZfuFMFsK1CUgousACgqnZj PJk30o44PJ+SQp1/W57FtUs= =SQ4T -----END PGP SIGNATURE----- --nextPart2300031.ACesX3XH0E--