Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <37CB9368.E0E39FC2@niles.de> Date: Tue, 31 Aug 1999 10:33:44 +0200 From: Alexander Mader Organization: NILES Werkzeugmaschinenfabrik GmbH X-Mailer: Mozilla 4.6 [de] (WinNT; I) X-Accept-Language: de MIME-Version: 1.0 To: cygwin AT sourceware DOT cygnus DOT com Subject: P: nm and MS-Libs References: <19990826180701 DOT 28986 DOT rocketmail AT web1404 DOT mail DOT yahoo DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hallo, 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 likewise with a test using objdump. I have no idea where this failure could come from. In the archive I read something about a program pexport and it sounded like symbol extracting as well. Could this help? Where can I find it? Best regards, Alexander. -- Alexander Mader NILES Werkzeugmaschinenfabrik GmbH -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com