From: DJ Delorie <dj@delorie.com>
Subject: Re: Building an import lib from a DLL - egcs 1.1
06 Oct 1998 12:07:06 -0400
Message-ID: <361A402A.794B@delorie.com>
References: <3.0.2.32.19981006012639.006bd840.cygnus.gnu-win32@email.mcmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (X11; I; IRIX 5.3 IP22)

Try this:

echo EXPORTS > foo.def
nm foo.dll | grep ' T _' | sed 's/.* T _//' >> foo.def
