[Mono-dev] DistCC and cross-compiling Mono

Robert Jordan robertj at gmx.net
Sun Mar 8 09:20:44 EDT 2009


bojanr at brandeis.edu wrote:
> I patched this to pass on CFLAGS and LDFLAGS to the mcs makefile, so now
> jay builds correctly when cross-compiling with distcc. The patch is
> attached, and it's sort of a hack. It passes compilation, though it spews
> out full screens of warnings because of all the warning flags that are
> passed along to jay because they're passed to mono. If anyone has a better
> solution to this issue, it'd be great to see it implemented.

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



More information about the Mono-devel-list mailing list