[Mono-dev] Mono cross compile

WebMaster webmaster at trsoft.info
Mon Feb 18 16:47:37 EST 2008


Thanks everyone,
today I've tried to compile mono with your hints and after some tricks 
with configure (messages like "cannot run tests while 
cross-compiling....") I've succed.

Tim Cussins napsal(a):
> 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
>>     
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080218/ce60cebc/attachment-0001.html 


More information about the Mono-devel-list mailing list