From: vs_tv AT aat-f DOT aeg-f DOT de (Thomas Vetter) Subject: converting msvc .lib's to gnu-win32 .a's 23 Jul 1997 07:40:38 -0700 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <199707231113.NAA08567.cygnus.gnu-win32@frss27.aat-f.aeg-f.de> Original-To: gnu-win32 AT cygnus DOT com Original-Cc: vetter AT aat-f DOT aeg-f DOT de X-Sun-Charset: US-ASCII Original-Sender: owner-gnu-win32 AT cygnus DOT com Hi, I want to convert some 3rd-party stuff (.lib and .dll) to gnu-win32 format (.a) to make it accessible for ld. The dll's I ported with the following commands : dumpbin /exports 3rd-party.dll > 3rd-party.def --------> edit .def to the right export structure --------> does anybody know a better tool or an easier way ? dlltool --dllname 3rd-party.dll --output-lib lib3rd-party.a --def 3rd-party.def But how can I convert the 3rd-party's libraries (.lib) to gnu-win32 format (.a) ? I think the standard libraries (libkernel32.a,libuser.a,...) are also converted from original msvc libraries. Is it neccessary to create first a dll or is there an easier way to get a gnu-win32 library ? Regards, Thomas ------------------------------------------------------------------------------------------ Thomas Vetter Phone: +49 69 6649 2415 Cegelec AEG Systems FAX: +49 69 6649 2261 Abt.: A/RD 1 Lyoner Str. 9 e-mail: vetter AT aat-f DOT aeg-f DOT de 60528 Frankfurt WWW: http://thomasvetter.aat-f.aeg-f.de Germany ------------------------------------------------------------------------------------------ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".