[Mono-dev] DistCC and cross-compiling Mono

Andreas Färber andreas.faerber at web.de
Sun Mar 8 13:59:40 EDT 2009


Am 08.03.2009 um 18:53 schrieb Bojan Rajkovic:

> Robert Jordan wrote:
>> Since jay is only used on the host, compiling it for the target is
>> simply wrong. Imagine you're cross compiling for ARM: what is
>> an arm-jay good for other than breaking the build on the host?
>>
>> Robert
>>
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> So I take it that there's not really a solution here--it'd be nice  
> to be able
> to compile all parts of Mono in a distributed manner, but it sounds  
> like it'd
> just break jay when cross-compiling. Is there a potential solution  
> to the problem
> then, other than interrupting the build process, building jay  
> without distcc,
> and then continuing the build (I believe jay is the last piece of C  
> code to be
> compiled, so distcc doesn't even matter afterwards)?

There is, you should configure with --disable-mcs-build when cross- 
compiling. Just copy over mcs and libraries from a standard build on  
your host. Jay is a build tool, it's not needed at runtime on the  
target system.

Andreas



More information about the Mono-devel-list mailing list