Re: need help producing statically linked executable

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

 



On 08/03/2010 10:43 PM, Charlie Zender wrote:
> Thanks. I knew that ldd would list the static libraries.
> What I am looking for is an automated way to transform
> the dynamic linking command into the static link command.
> I guess I can parse the output of ldd through a perl script
> that generates "-llinux-vdso -lidn ...".

Aw, c'mon, it's only two lines of sed.  You culd have done it
by now.  :-)

Andrew.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux