From: dahms@ifk20.mach.uni-karlsruhe.de
Subject: Re: Linking against .lib libraries
8 Sep 1998 10:22:12 -0700
Message-ID: <009CBE5C.04303840.15726.cygnus.gnu-win32@ifk20.mach.uni-karlsruhe.de>
To: earnie_boyd@yahoo.com
Cc: gnu-win32@cygnus.com, dahms@ifk20.mach.uni-karlsruhe.de

Hi Earnie, you wrote:

: Basically you need to create a somelib.def file from the `nm
: --defined-only --demangle somelib.lib | grep ' [DCT] ' > somelib.def'.
:  Then add `EXPORTS' as the first line to the file.  Then use dlltool
: to create the libsomelib.a file.

To avoid manual editing, try (untested):
 nm --defined-only --demangle somelib.lib|\
 (echo EXPORTS;grep ' [DCT] ')>somelib.def


Bye, Heribert (dahms@ifk20.mach.uni-karlsruhe.de)
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
