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: B19,20: name of DLLs truncated to "dll"?


"Todd R. Hunter" <thunter@cfa.harvard.edu> writes:
> I am trying to link a C program that accesses two third-party DLLs. 
> Following instructions in the FAQ, I have culled out .def files from the
> existing .LIB files, determined the mangled names from the subsequent
> linker errors, and created corresponding .a files to link against these
> DLLs by using dlltool as follows: 
> 
> dlltool -k --def gpib-32.def --dllname gpib-32.dll --output-lib libgpib-32.a 
> 
> When I compile and link using B18, the programs load the appropriate DLLs
> and execute properly. However, when I try to use the newer releases B19 or
> (as I discovered tonight) B20, I get the following fatal error message
> upon execution: 
>   "the dynamic link library dll cannot be found"

Hi Todd,

I'm curious as to what's causing this. There've been *lots* changes
between b18 and b20, and it should've helped rather than hurt. 

A quick debugging tool:

  $ strings libgpid-32.a | grep "\.dll"
  gpid-32.dll

If you see nothing, then that's a confirmation of the bug.

Can you email me the DEF file and I'll see what I can do.

Regards,
Mumit

-
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]