Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Removing references to unused libs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Remenic
Tux's lil' helper
Tux's lil' helper


Joined: 10 May 2003
Posts: 76

PostPosted: Wed Feb 23, 2005 8:28 pm    Post subject: Removing references to unused libs Reply with quote

Over at www.osnews.com there was a topic on GNOME getting more optimization in the future. Someone pointed out that many GNOME libraries (but not just GNOME libraries) have unused library dependancies.

I have noticed before that this indeed happens (I believe I even posted a topic on it), but it appears that one can now check which programs and libraries have unnused dependancies.

The command is:

Code:
ldd -u -r <paths>


Now, I am wondering if there's some sort of post-process command that removes these unnused dependancies. This would decrease memory usage, and increase startup times. Two very interesting features, if you ask me.
Back to top
View user's profile Send private message
Remenic
Tux's lil' helper
Tux's lil' helper


Joined: 10 May 2003
Posts: 76

PostPosted: Thu Feb 24, 2005 8:16 am    Post subject: Reply with quote

Am I asking this in the wrong forum perhaps?

I can't believe that there wouldn't be a way to 're-link' ELF binaries and shared objects so they only reference to libraries they actually need.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum