[Mono-list] Latest mono for Cygwin
Paolo Molaro
lupus@ximian.com
Thu, 31 Jan 2002 16:16:26 +0100
On 01/31/02 Dan Lewis wrote:
> I also had some success with compiling Mono on Windows, in so far as getting
> the
> mint interpreter running hello world (with a few complaints). It needed a bit
> of
> hacking though - I get the feeling that mono once did run on Windows, but
Yes, I got it to work on cygwin some time ago, but no one of us uses
windows: I just hoped that some win32 developer could step up to the
plate and keep the build going there... :-)
mono is meant to run (and build) on windows, too, it's just not our top
priority right now.
> cygwin1.dll and the MS runtime libraries together, because certain things
> collide
> - eg the sockets namespace).
Yes, I had this problem a few days ago, when cross-compiling mono for
win32 from linux: we need a gettimeofday() subtitute for windows and the
metadata lib needs to link to some library that provides the socket
stuff.
> Secondly, a Windows target for corlib needs to be built. There's some code to
> do
> this in the class library, but I can't seem to get it to compile. (I could run
> hello world using the Linux library, but the loader throws up loads of warnings
> when it trys to link internal methods to libc and libm instead of MSVCRT.)
There is some code in mono/mono/metadata/loader.c to map different
library names across different platforms, though your immediate problem
will be solved when libmonowrapper gets removed. The lib mapping stuff
will need to become configurable at runtime as well.
lupus
--
-----------------------------------------------------------------
lupus@debian.org debian/rules
lupus@ximian.com Monkeys do it better