HELP, cygn. Can't call MS dll

John Cerney j-cerney1@ti.com
Wed Apr 16 15:44:00 GMT 1997


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



More information about the Cygwin mailing list