[Mono-dev] How to access AOTed assembly code?

Robert Jordan robertj at gmx.net
Wed Jan 25 21:59:11 UTC 2012

On 25.01.2012 21:45, Kamal Aboul-Hosn wrote:
> Thanks, Robert, that worked very well. I have one more question, if I
> may. So I'm embedding Mono on Android on ARM. Up until now, I've been
> AOT compiling the libraries by running a little app on the Android
> device itself. Obviously, in the long term, this is not really a good
> option. So now, I'm trying to build a Mono cross compiler for Android
> ARM on my Mac OS X machine (gcc --arch returns
> "i686-apple-darwin11-llvm-gcc-4.2" if that is useful).
> I do the following configure:
> ./configure --target=armv5-linux-androideabi --enable-nls=no
> --prefix=/Users/kamal/mono-cross --disable-mcs-build

Hmm, I'm inclined to say that targeting "armv5-linux-androideabi"
with a GCC whose arch is "i686-apple-darwin11-llvm-gcc-4.2" is
doomed to fail.

You need a cross build toolchain for "armv5-linux-androideabi".


More information about the Mono-devel-list mailing list