This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: B19,20: name of DLLs truncated to "dll"?
- To: thunter at cfa dot harvard dot edu
- Subject: Re: B19,20: name of DLLs truncated to "dll"?
- From: Mumit Khan <khan at xraylith dot wisc dot edu>
- Date: Sun, 01 Nov 1998 18:22:42 -0600
- Cc: gnu-win32 at cygnus dot com
"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".