[Mono-dev] cross compiling mono in OE for ARM

Paolo Molaro lupus at ximian.com
Tue Jul 10 17:10:50 EDT 2007


On 07/10/07 Cliff Brake wrote:
> > I think openmoko currently uses oabi (I'm not currently build for

Uhm, from
http://lists.openmoko.org/pipermail/community/2006-November/000079.html:
it seems like they use softfloat, but with the old ABI.
Mono has been tested on the hard-float old ABI and on the softfloat
eabi.
So if you compile for the old abi, hw FPA instructions are used by the
jit and they may not have the kernel emulation enables, so you get the
SIGILL.
You may want to force the 
#define MONO_ARCH_SOFT_FLOAT 1
at the start of mini/mini-arm.h, even for the ARM_FPU_FPA case.

No guarantee that will work, but if you're lucky it may and it is in the
right direction of things if they really still use the softfloat old
abi (which in 2007 is a bit silly...) instead of eabi.

lupus

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



More information about the Mono-devel-list mailing list