Is there a way to make static executable out of ELF shared one?

vda vda@port.imtp.ilyichevsk.odessa.ua
Tue Dec 11 06:23:00 GMT 2001


Hi gcc folks,

I need a bunch of static executables for linux initial ramdisk.
I have all needed executables but some of them require .so libs.
I know that static binaries can be made at compile time (ld -static)
but do I really need to download source for all my binaries?

There must be a way to make static binary from shared one

Please CC me
--
Denis Vlasenko



More information about the Gcc-help mailing list