[Mono-dev] Compiling mono for arm linux

Paolo Molaro lupus at ximian.com
Fri Dec 2 09:30:50 EST 2005

On 12/01/05 FALE(Leopold Faschalek) wrote:
> while compiling mono-1.1.10 I get following error:
> 	make[6]: *** [build/deps/basic-profile-check.exe] Error 245
> And after that it reports an invalid mcs.exe, I tried the monolite-latest but no change.
> *** The compiler 'mcs' doesn't appear to be usable.
> *** Trying the 'monolite' directory.

What system do you use to execute binaries inside scratchbox?
QEMU or the target device itself?
In the first case, you're likely hitting some QEMU bug and I'm sure the
QEMU developers would love to hear a detailed bug report.
In the latter: could you try to copy mscorlib.dll, System.dll,
System.Xml.dll, mcs.exe on the target together with the generated ARM
mono binary (you can take the assemblies from any system, even x86).
Then compile some small program on the target and see if it works (it
should): if it does, then you have a bug in whatever means scratchbox
uses to run it on the device. If it doesn't I'd like to have more info,
like ARM cpu type, amount of memory, operating system etc.

> Thanks for every information on how to successful build mono for arm

Note that you could just cross-compile the mono binary inside scratchbox
and just copy over in the right places all the assemblies, since they
are cross-platform already.


lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better

More information about the Mono-devel-list mailing list