[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-devel-list
Subject:    Re: Only link needed libraries.
From:       Toshio <toshio () tiki-lounge ! com>
Date:       2005-03-31 14:28:18
Message-ID: 1112279299.31636.10.camel () Madison ! badger ! com
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Thu, 2005-03-31 at 09:43 +0200, "Nils O. Selåsdal" wrote:
> Hi folks,
> Just read a recent OSNews article;
> http://www.osnews.com/story.php?news_id=10152
> Basically, Gnome - and others, link in way too many libraries.
> This can be dealt with by using e.g. -Wl,--as-needed .
> 
I think the article is misleading.  I bet running ldd on the binaries
will show both binaries require the same set of libraries to run.
(pkgconfig is encoding interlibrary dependencies and supplying them to
the linker to add to the binary.  On Linux, the libraries can encode
this information themselves.  The result in either case is that the
program loads all the required libraries.)  So all it's saved is some
bookkeeping in the executable.

-Toshio
-- 

["signature.asc" (application/pgp-signature)]

-- 
fedora-devel-list mailing list
fedora-devel-list@redhat.com
http://www.redhat.com/mailman/listinfo/fedora-devel-list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic