[Mono-list] Need Help to Cross-Compile for Windows on Linux

Ian Norton inb at ncipher.com
Thu Apr 21 07:59:27 EDT 2011


What did you pass to autogen.sh for target or host? Aiui you should only supply target

"Rod" <rodney.foley at lumension.com> wrote:

>
>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.
>_______________________________________________
>Mono-list maillist  -  Mono-list at lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-list

-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.


More information about the Mono-list mailing list