[Mono-list] Need Help to Cross-Compile for Windows on Linux
Rod
rodney.foley at lumension.com
Wed Apr 20 20:27:51 EDT 2011
Well the first few times I have been trying this I was using:
./configure --prefix=/usr/local
Then I noticed that if you are compiling from git that you should use:
./autogen.sh --prefix=/usr/local
After noticing that, I tried again with the following steps based on the
readme:
1) git clone git://github.com/mono/mono.git
2) cd mono
3) ./autogen.sh --prefix=/usr/local
4) make get-monolite-latest
5) make EXTERNAL_MCS=${PWD}/mcs/class/lib/monolite/gmcs.exe
6) ./build-mingw32.sh
The first 5 steps above complete without error, then on the last one after
just a couple minutes it exits with the error I mentioned previously. The
error occurred with either the ./configure or ./autogen.sh listed above.
Then if I get this working this is 32 bit as I understand it, so once its
working I will need to learn how to do the 64 bit cross-compile for windows.
As for Cross-Compile vs Cross-Build, I am using the words in the Mono
documentation and source script were they call it cross compile.
http://www.mono-project.com/Cross-compiling_Mono_for_Windows
Any assistance on this is greatly appreciated. Thanks!
-Rod
--
View this message in context: http://mono.1490590.n4.nabble.com/Need-Help-to-Cross-Compile-for-Windows-on-Linux-tp3464112p3464622.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list