delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/01/17/21:06:24

From: jes23 AT cam DOT ac DOT uk (James Scott)
Subject: Re: linking against DLLs
17 Jan 1999 21:06:24 -0800 :
Message-ID: <Pine.A41.4.03.9901172051370.43512-100000.cygnus.gnu-win32@mibm1.jims.cam.ac.uk>
References: <36A0BF7E DOT CECAA202 AT montana DOT com>
Mime-Version: 1.0
To: bowman <bowman AT montana DOT com>
Cc: gnu-win32 AT cygnus DOT com

Thanks, 

I also found out DUMPBIN.EXE from VC5 can be used generate .def files,
e.g.:

DUMPBIN /exports foo.dll |
awk '/@/{print $3}' |
awk 'BEGIN { FS = "@"; printf("EXPORTS\n"); }
     /@/{printf("%s @%s\n", $1,$2);}' > foo.def

and I found out after ages of frustration that you've got to have a space
between the symbol name and the @ sign!

James

-
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