This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: need help producing statically linked executable
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 ...". But this seems so
primitive. Isn't there an elegant way to ask the linker
to do that work for you?
--
Charlie Zender, Department of Earth System Science
University of California, Irvine (949) 891-2429 :)