This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: P: nm and MS-Libs
- To: cygwin at sourceware dot cygnus dot com
- Subject: Re: P: nm and MS-Libs
- From: Alexander Mader <mader at niles dot de>
- Date: Thu, 14 Oct 1999 06:04:42 +0200
- Organization: NILES Werkzeugmaschinenfabrik GmbH
- References: <19990826180701.28986.rocketmail@web1404.mail.yahoo.com> <37CB9368.E0E39FC2@niles.de>
Hallo,
my original problem
Alexander Mader schrieb:
> in order to make MSNAME.a from a MSNAME.lib I try to extract the symbols
> the following way
>
> echo "EXPORTS" > msname.def;
>
> nm --demangle --defined-only MSNAME.lib \
> |sed -n 's/^.* T //p' >> msname.def
>
> dlltool --dllname MSNAME.DLL --def msname.def \
>
> --output-lib libmsname.a
>
> Unfortunately I get
>
> nm: MSNAME.DLL: File format not recognized
was solved. The lib was MSVC 6 and I did
lib /convert msname.lib
and got a lib to proceed with.
Alexander.
--
Alexander Mader <mader@niles.de> Fon: +49-30-92797-556
NILES Werkzeugmaschinenfabrik GmbH
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com