From: garya AT fltdyn DOT com ("Gary Albert") Subject: RE: DLLTOOL documentation? 27 Mar 1997 09:27:55 -0800 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <9703271522.AA10552.cygnus.gnu-win32@fltdyn.com> Reply-To: garya AT fltdyn DOT com Comments: Authenticated sender is Original-To: gnu-win32 AT cygnus DOT com In-Reply-To: <01BC39F0.2B3A3320@gbird0> X-Mailer: Pegasus Mail for Windows (v2.52) Original-Sender: owner-gnu-win32 AT cygnus DOT com > Bruce James[SMTP:bjames AT clear DOT net DOT nz] wrote: > > 2. What's the Gnu equivalent of Borland's IMPLIB for generating an import > library from a DLL? > I have found that dlltool can do the equivalent of IMPLIB. Doing "dlltool --help" gives just enough info to figure it out. All I've had to do is: dlltool --output-lib somedll.a --dllname somedll.dll This will create the ".a" file for linking with ld. It can take quite a while to run but it seems to work fine. I've used this method to actually build a lib for X11 from an X11.dll file I found on the net somewhere and it worked great. ___________________________________________________________ garya AT fltdyn DOT com Gary Albert Flight Dynamics (503) 684-5384 ___________________________________________________________ - For help on using this list, send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".