Hello All, I'm quite new to MONO and wanted to give it a try under Win32, so I followed the explanations found on the web. Basically, I installed Cygwin, then created a directory named /src.
I updated the PATH to include the Microsoft.NET Framework 1.1
binaries.
I checked out mcs from the CVS repository, then launched the
mono-build-w32.sh script.
There were a few problems :
1) In mono/libgc, the file 'configure' is missing and the build
script aborts. I fixed this by providing a dummy configure
script which does nothing.
2) The Makefile produced as mono/Makefile contains a directive
which won't work on Cygwin (is it a typo or a feature, I do
not know). I replaced :
rm ../mcs/class/lib/corlib.dll ../mcs/mcs/mcs.exe runtime/*dll runtime/*.exe
>& /dev/null; echo
with :
rm ../mcs/class/lib/corlib.dll ../mcs/mcs/mcs.exe runtime/*dll runtime/*.exe
; echo
which works fine.
These two points are clearly problems which should be addressed,
don't you think so ?
Then, I included /src/install/bin and /src/install/lib into
the Cygwin path, and did a 'make fullbuild' from /src/mono.
This went also into /src/mcs and built everything successfully
(at least I have an mcs.exe which is able to compile a simple
test program).
This simple test program runs fine when launched from Windows,
but if I launch it with "mono test.exe", nothing happens. And
if I try "mint test.exe", mint crashes with an access violation
writing location 0x00000010...
I attached both the source and the exe to this posting. If
anybody has a clue as to what can be going wrong in my build,
I would be really grateful !
Pierre
test.zip
Description: Zip compressed data
