Using gcc/egcs with MSVC .lib files

Fieldhouse, Dirk Fieldhouse@logica.com
Fri May 14 15:08:00 GMT 1999


Can anyone confirm what the current position is?

As I understand, these options are possible

-	use link to build gcc object files against xxx.lib

-	make a wrapper, build the xxx.lib into xxx.dll, and use dlltool to
make the necessary libxxx.a for gcc

but (maybe not true any longer?) ld can't build with .obj/.lib.

However I'm proposing to use a 3rd party tool that puts my compiled code
into a library before linking. Can I extract all the .obj from the xxx.lib
and store them into libxxx.a directly? Or can I store the gcc objects into a
.lib with MS lib.exe for building with link.exe? 

Thanks for any enlightenment.

-- 
Dirk Fieldhouse                 Logica UK Limited
fieldhouse@logica.com           75 Hampstead Road
c=gb;a=attmail;p=logica;        London NW1 2PL
o=LOGICA;ou1=UK;s=fieldhouse    UK
+44 (171) 637 9111

Not speaking for Logica


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list