Building a vendor perl module with gcc under cygwin

Reini Urban rurban@x-ray.at
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
http://phpwiki.org/           http://murbreak.at/

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list