[Mono-dev] Mono cross compile
Tim Cussins
timcussins at eml.cc
Mon Feb 18 03:29:31 EST 2008
Hi Webmaster
When cross-compiling for ARM, I ran into issues with missing symbols at
link-time (GC_local_xxx). If you also get this for ppc, try configuring
mono with "--with-tls=pthread"
Tim
Bill F wrote:
> 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