[Mono-list] Cygwin woes

Francis Brosnan Blázquez francis@aspl.es
Mon, 13 Dec 2004 13:11:26 +0100


Hi,

Using Cygwin allows you to compile against cygwin1.dll library or using
mingw interface (-mno-cygiwin) to compile against msvcrt.dll. But, you
can not mix dlls compiled from different method. Check out the cygwin
fac.

What is happening is that your dll test.dll is compiled against
cygwin1.dll (by using the second method) and mono is compiled against
msvcrt.dll.

You can also use objdump -p /path/to/the/binary to see against what dll
is compiled some program.

On windows, if you still want to use cygwin you need to use -mno-cygwin.

.-Francis


-- 
Francis Brosnan Blázquez <francis@aspl.es>