Re: Building a vendor perl module with gcc under cygwin

2011-05-19 Thread Reini Urban
"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 y

Building a vendor perl module with gcc under cygwin

2011-05-18 Thread Philip Kime
Greetings, I am having a hell of time trying to build a vendor-supplied perl module under gcc in cygwin. I know it compiles with gcc under Linux and Unix, as well as with VC under windows. I'm using cygwin 1.7.9 and gcc 4.3.4. This is 64-bit windows. The module creates a .dll which needs to link