delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/12/00:20:25

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <20010512042001.27738.qmail@web6403.mail.yahoo.com>
Date: Sat, 12 May 2001 14:20:01 +1000 (EST)
From: =?iso-8859-1?q?Danny=20Smith?= <danny_r_smith_2001 AT yahoo DOT co DOT nz>
Subject: Re: Linking with "stdcall" library
To: Dmitry Timoshkov <dmitry AT baikal DOT ru>
Cc: cygwin AT cygwin DOT com
In-Reply-To: <002a01c0da97$dc5552b0$c5823bd5@dima>
MIME-Version: 1.0

--- Dmitry Timoshkov <dmitry AT baikal DOT ru> wrote: > "Danny Smith"
<danny_r_smith_2001 AT yahoo DOT co DOT nz> wrote:
> 
> > -- start of test-dll.def --
> > EXPORTS
> >     MyCloseHandle AT 4
> > -- end of test-dll.def --
> > 
> > 
> > dlltool --kill-at --input-def test-dll.def --output-lib libtest-dll.a
> 
> Yes!!!!!!!!
> 
> Thank you very much, Danny!
> 
> Just a tiny addition for those who will search for a solution in the
> archives: add '--dllname DLLNAME' to the command line or line 'NAME DLLNAME'
> to the .def file to provide correct dll name for the linker.
> 
> Another related question: how either an import library or just a .def file
> could be created from a .dll file?
> 
> Again, thanks for your help.
> --
> Dmitry.
> 
Try pexports, last seen here:
http://www.is.lg.ua/~paul/devel/binutils.html

(Really need the headers as well to get  @nn stdcall decoration right).

Danny


_____________________________________________________________________________
http://messenger.yahoo.com.au - Yahoo! Messenger
- Voice chat, mail alerts, stock quotes and favourite news and lots more!

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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