This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
re: HELP, cygn. Can't call MS dll
- To: helmut at isv-gmbh dot de (Helmut Ruholl)
- Subject: re: HELP, cygn. Can't call MS dll
- From: John Cerney <j-cerney1 at ti dot com>
- Date: Wed, 16 Apr 1997 15:04:40 -0700
- Cc: gnu-win32 at cygnus dot com
- Conversation-Id: <m0wHUSH-0007m8C@isv-gmbh.de>
- Reply-To: John Cerney <j-cerney1 at ti dot com>
> John,
>
> have done your relocatable dll example (building-reloc-dll.txt) based on
> W95.
> It works.
> But it's necessary to call dll's which aren't build by gcc.
>
> Steps:
> 1. building a '.a' File from an '.lib' File with dbtool
> dbtool --as=as -dllname mslib.dll ... --output-lib xxx.a
I assume by 'dbtool' you mean 'dlltool'?
This above step won't work. dlltool
won't make a proper '.a' file from a '.lib' or a '.dll' file. It only will make
an '.a' file from a '.def' file, which contains a list of exported names from
the dll. Ismael Jurado (ismaelj.hotmail.com) just posted a program that will
make def files from dlls last sat april 12.
> -other stuff snipped --
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".