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: HELP, cygn. Can't call MS dll




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


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