This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Convert dynamic lib to static lib
- From: Eljay Love-Jensen <eljay at adobe dot com>
- To: Sisyphus <kalinabears at iinet dot net dot au>, gcc <gcc-help at gcc dot gnu dot org>
- Date: Fri, 15 Oct 2004 06:17:18 -0500
- Subject: Re: Convert dynamic lib to static lib
- References: <416F97A4.9060904@iinet.net.au>
Hi Rob,
I don't know of any way to make a dynamically linked library (.dll or .so)
into a statically linked archive library (.lib or .a).
I believe you'll have to recompile the source of the two .dll's (or at
minimum, ar together the .o files - presuming there's no DLL
instrumentation that happens to the object files at compile time) as an
archive library instead of a shared library.
HTH,
--Eljay