Building a vendor perl module with gcc under cygwin

Reini Urban
Thu May 19 16:51:00 GMT 2011

"Exec format error" is the returned error string from dlopen, which
tried to load your dll.
So it looks like either your cflags or ldflags are wrong, or the lib
you are linking against cannot be loaded by cygwin's perl.

Easiest would be to link both dll's statically, your MOD.dll and the
??? lib you are linking against. Maybe both libc versions are not
compatible. e.g. msvcrt and cygwin.
Or the PE header of the 3rd dll is not matching, 64bit maybe.
Reini Urban 

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list