delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/09/08/10:22:12

From: dahms AT ifk20 DOT mach DOT uni-karlsruhe DOT 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 AT yahoo DOT com
Cc: gnu-win32 AT cygnus DOT com, dahms AT ifk20 DOT mach DOT uni-karlsruhe DOT 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 AT ifk20 DOT mach DOT uni-karlsruhe DOT de)
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019