[Mono-list] FW: Cross compiling mono 2.4 to PowerPC

Dushara Jayasinghe DusharaJ at optiscan.com
Fri Jun 26 02:21:51 EDT 2009

> On 25-Jun-09, at 12:38 AM, Dushara Jayasinghe wrote:
> >> You should update to the tip of the 2.4 branch or head which fixes
> >> this (among other) problem.
> >>
> >
> > I'm using the official source distribution @
> http://ftp.novell.com/pub/mono/sources-stable/
> >
> > Anyway, I've got the build itself working or do you believe that the
> > original problem I highlighted (The file /usr/lib/mscorlib.dll is an
> > invalid CIL image) is related to the build system itself?
> >
> Yes, this is 99% the case, you have a brkoen build.

I tried version 2.4.2-rc1 (http://anonsvn.mono-project.com/viewvc/tags/mono-2-4-2-rc1/). I still had to tweak configure.in:

checking for working __thread... configure: error: cannot run test program while cross compiling

and Makefile.am (build breaks after entering the docs subdir).

My original problem still remains. As I mentioned earlier I'm performing a cross compile. There's no building taking place in the target (PowerPC) platform.

The mono:arm page (http://www.mono-project.com/Mono:ARM) recommends using scratchbox. Does this mean that mono can't be built using cross compilers?

Thanks again


More information about the Mono-list mailing list