Subject: docs for dlltool?
From: [email-masked] (Thomas Nichols)

28 Nov 1997 22:20:17 -0800
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: [email-masked]

Found it! In the mailing list archives for Feb 1995!

Are these archives the best source of documentation for these tools?

hanks,
Regards,
Tom.

// ------------- archived message --------------------- //

Received: from mailhost.ixos.de (HOST.50.22.ixos.de [149.235.50.22]) by
cygnus.com (8.6.12/8.6.9) with SMTP id AAA00692 for <[email-masked]>;
Fri, 25 Aug 1995 00:08:15 -0700
From: Gunther Ebert <[email-masked]>
Date: Fri, 25 Aug 95 09:08:06 +0200
To: [email-masked]
Subject: Re:  Building DLLs
Sender: [email-masked]
Reply-To: [email-masked]

Hi Karl,

I don't know how to build a DLL using the win32-gcc but I can
tell you how to use the dlltool utility.

This is a tool like implib - it builds import libraries from
DLLs. You must write a .def file with the following syntax:

EXPORTS
_MessageBoxA@16
_DialogBoxA@8
....

Below the EXPORTS statement you must specify all DLL functions
you want to import. Take care that you use the names which the
linker is expected (with underscores, ...).

Then you can run dlltool. Please use the following command line
parameters:

dlltool -k -u -o <Library name without ".DLL"> -d <name of .def file>

The dlltool generates two .s files: <library>-lib.s and <library>-exp.s.
Now you can compile the <library>-lib.s file - and your import lib
is createt.

Gunther

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".