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".

Robert

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to