delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/13/08:03:35

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: <001d01c0dba4$c87b09c0$c5823bd5@dima>
From: "Dmitry Timoshkov" <dmitry AT baikal DOT ru>
To: "Danny Smith" <danny_r_smith_2001 AT yahoo DOT co DOT nz>
Cc: <cygwin AT cygwin DOT com>
References: <20010512025148 DOT 2365 DOT qmail AT web6402 DOT mail DOT yahoo DOT com>
Subject: Re: Linking with "stdcall" library
Date: Sun, 13 May 2001 20:02:51 +0800
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

"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

I faced with new problem arranging my build environment. The above
solution provides a way to create correct import library using .def
file with exported names with stdcall naming convention.

But the same .def file can't be used to create the library (.dll) itself
using dllwrap:
dllwrap --kill-at --dllname test-dll.dll --def test-dll.def test-dll.o

Resulting exported names in the created .dll have @XX suffix.

Do I have to have TWO DIFFERENT .def files? One for creating import library,
and another for creating .dll?

Thanks in advance.
--
Dmitry.


--
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