[Mono-dev] Mono cross compile

Bill F list.mail.for.bill at gmail.com
Sun Feb 17 18:53:42 EST 2008


2008/2/18 WebMaster <webmaster at trsoft.info>:
>  I'm trying to cross compile mono for powerpc, compiling runtime is ok, but
> I was unable to compile msc and corresponding libraries. I've got sources
> from svn via anonymous access. Can anyone give me some suggestions how to do
> this? Thank for answers.

The procedure that I have been using is similar to the one on the Mono
ARM port page http://www.mono-project.com/Mono:ARM

On the Host, build as normal (not cross compile)
    ./configure
    make install DESTDIR=`pwd`/tmptree

Copy the files from tmptree to your Target platform.

On the Target platform, build mono without mcs:
    ./configure --disable-mcs-build
    make install

This will install over the top of the files you copied from the Host.

I can't get the mcs or gmcs to work on my Target, but I can run
assemblies compiled on the Host OK.  I have a bug open for this issue:
https://bugzilla.novell.com/show_bug.cgi?id=355025

Good luck,
Bill


More information about the Mono-devel-list mailing list