[Mono-dev] Building Mono on Windows 10 / Cygwin
rzaghi at mosaic3dx.com
Thu Nov 9 18:16:14 UTC 2017
Can you please check if the sequence of commands that I am using to build
Mono on Windows 10 from source is correct?
Maybe the steps need changing or I am missing a step - I want to make sure
that I am doing it right.
Linux and Mac are easy but building on Windows is proving a little bit of a
## (01) ##
$ cd mono && git checkout mono-184.108.40.206 # Latest tag when I doing this
$ make get-monolite-latest
$ export PREFIX=/cygdrive/c/mono_x64 # THIS PATH DOES NOT EXIST YET
$ export PATH=$PREFIX/bin:$PATH
$ ./autogen.sh --prefix=$PREFIX --host=x86_64-w64-mingw32 --disable-boehm #
THIS GOES WELL
# NO ISSUES SO FAR
$ export PATH=/cygdrive/c/mono/msvc/build/sgen/x64/bin/Release/:$PATH
# I HAVE THE EXE BUT FROM AN OLD RUN OF MAKE
$ make -j4
$ cd msvc
$ setup-solution.bat # I HAD TO CHANGE THIS TO REMOVE "-debug" AND THEN IT
$ /cygdrive/c/Program\ Files\ \(x86\)/MSBuild/14.0/Bin/MSBuild.exe
/p:PlatformToolset=v140 /p:Platform=x64 /p:Configuration=Release
/p:MONO_TARGET_GC=sgen msvc/mono.sln # IS THIS ENOUGH OR DO I NEED TO
BUILD IN MSVS AS WELL ?
## (02) ##
I tried to open and build mono.sln in MSVS 2017 and build it.
Many of the projects including classlibs.sln build just fine, however many
of the projects are also failing.
I can see gen_*.cs file missing for example.
Am I missing something?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list