From: DJ Delorie 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 DOT 0 DOT 2 DOT 32 DOT 19981006012639 DOT 006bd840 DOT cygnus DOT gnu-win32 AT email DOT mcmail DOT 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