This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Building an import lib from a DLL - egcs 1.1



---Thomas Nichols <thomas.nichols@iname.com> wrote:
>
> Hello,
> 
> Please excuse this message if it's in the wrong place - the egcs
mailing
> list seems to be un*x rather than win32, is that right?
> 
> I have a DLL - mSQL.dll from the MiniSQL package at
> http://www.hughes.com.au - for which I want to generate an import
library
> for use with the egcs 1.1 compiler. I can't get dlltool to do what I
want.
> 
> I need basically the same behaviour I'd get from Watcom's wlink
>     - input a DLL
>     - output an import lib with stubs for all exported functions.
> 
> Can I do this? Do I have to write a manual DEF file with an entry
for each
> export? Do I then have to work out the size of the parameters and
set the
> suffix to @4, @8 etc? This is how I got the Bullet library at
> http://www.40th.com - very fast database engine -working some time
ago, and
> I don't fancy it for the whole mSQL API. I just want to use the
mSQL.dll
> functions in my code while using the egcs compiler - is it possible?

1) Goto Mumit Khan's page.  If you can't find it I have a pointer on
my page.
2) Search the archives.

==
-                \\||//
-----------o0O0--Earnie--0O0o------------
--        earnie_boyd@yahoo.com        --
-- http://freeyellow.com/members5/gw32 --
--------------ooo0O--O0ooo---------------

PS: Newbie's, you should visit my page.
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]