[Mono-dev] Cross Compiling Mono for Windows on Open SuSE 11.3

greenaj greenaj at cox.net
Mon Dec 27 14:48:56 EST 2010

I got a Cygwin build to work, but it is horribly slow.  I am hoping to get a
stable environment cross compiling Mono on 32 bit SuSE 11.3.  The tutorial
from the mono web site is outdated.  

Is anybody successfully cross compiling Mono for Windows using SuSE or
Ubuntu?  I have been able to build in a SuSE 11.3 build environment but only
statically link.  Libmono-2.0.dll or mono-2.0.dll do not get built.  This is
not what we want.

Are the cross compile toolchains for SuSE are just to old and outdated to be
useful?  I tried setting up another virtual build environment for Mono.  Now
I cannot even get past autogen.sh.  An error in
./build-cross-windows/config.log says:

configure:4514: gcc   -DWINVER=0x0500 -D_WIN32_WINNT=0x0500
-lmswsock -lws2_32 -lole32 -loleaut32 -lpsapi -lversion -ladvapi32 -lwinmm
-lkernel32 conftest.c  >&5
/usr/lib/gcc/i586-suse-linux/4.5/../../../../i586-suse-linux/bin/ld: cannot
find -lmswsock
collect2: ld returned 1 exit status

Maybe the Microsoft Winsock library is missing.  Any ideas?

View this message in context: http://mono.1490590.n4.nabble.com/Cross-Compiling-Mono-for-Windows-on-Open-SuSE-11-3-tp3165393p3165393.html
Sent from the Mono - Dev mailing list archive at Nabble.com.

More information about the Mono-devel-list mailing list