Re: What next?

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

 



On Wed, Jun 01, 2005 at 04:15:36PM -0400, Elliot Lee wrote:
> On Wed, 1 Jun 2005, Nicholas Miell wrote:
> 
> > On Wed, 2005-06-01 at 21:44 +0200, Arjan van de Ven wrote:
> > > * avoid redundant libaries in apps
> > >   (for example most gnome apps right now have 2 XML libraries loaded and
> > > in use)
> > 
> > Lots of GNOME apps/libraries (and probably many other things as well)
> > link to libraries that they don't actually use (try "ldd -r -
> > u /usr/bin/*" some time). It'd be nice to get rid of those.
> 
> Those links are there because libtool and pkg-config are stupid. libtool
> and pkg-config aren't going to stop being stupid anytime soon, so we live
> with the situation as-is :)

this is not correct.

pkg-config is fixable!
We need to teach it about -Wl,as-needed which causes the linker only to add
a lib when the app directly uses it.

libtool.. bigger question. But we can get pkg-config to do this right if we
spend 2 days on it.

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux