This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Convert dynamic lib to static lib


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]