Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@sourceware.cygnus.com>
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>,
	<http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
Message-ID: <37CB9368.E0E39FC2@niles.de>
Date: Tue, 31 Aug 1999 10:33:44 +0200
From: Alexander Mader <mader@niles.de>
Organization: NILES Werkzeugmaschinenfabrik GmbH
X-Mailer: Mozilla 4.6 [de] (WinNT; I)
X-Accept-Language: de
MIME-Version: 1.0
To: cygwin@sourceware.cygnus.com
Subject: P: nm and MS-Libs
References: <19990826180701.28986.rocketmail@web1404.mail.yahoo.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 <mader@niles.de>
NILES Werkzeugmaschinenfabrik GmbH

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

