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

Re: PW#5-7: Linking shared libraries with -lc

Christian Schwarz writes:
 > > If those libraries are not in use before the program runs, they
 > > are loaded, and the memory requierements for your program increases, a
 > > lot. The GNU linker is not smart enough to drop the libraries that are not
 > > used at all, or so I've been told here before. 

This raises a question I've thought for several days now: is there a
mean of asking the system what shared libs are currently loaded ?

I thought of a /proc entry, but could not find one.

Such a thing would surely be useful to detect/verify such

Yann Dirson  <ydirson@a2points.com>      | Stop making M$-Bill richer & richer,
alt-email:     <dirson@univ-mlv.fr>      |     support Debian GNU/Linux:
debian-email:   <dirson@debian.org>      |         more powerful, more stable !
http://www.a2points.com/homepage/3475232 | Check <http://www.debian.org/>

Reply to: