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

Re: ldd for static libs



On Tue, 24 Mar 1998, Skliarouk Peter wrote:

> Hi!
> 
> How to find out which functions in my compiled
> program was statically compiled (or at least from which files they
> was imported)?
try strings(1), may help
to list library, use nm(1)
 
> I need it because:
>  Library which holds iostream's functions is statically compiled, so
> my program (in compiled state) is huge.
>  So I want to know how to found which file it is in, and how to replace
> it with dynamically compiled.
In code? AFAIK there's no way except recompiling. If it's your program,
you should have no problem doing it. 
 
> BTW: dynamic and shared libraries - it is two names of one thing?
Depends on what you mean under "one thing".
--
frodo@sharat.co.il	\/  There shall be counsels taken
Stanislav Malyshev	/\  Stronger than Morgul-spells
phone +972-2-6251746	/\  		JRRT LotR.
http://sharat.co.il/frodo/	whois:!SM8333