Cross compiling Kafee for ARM SA1100 (Brutus board)

Nandana nkuruwitage at
Tue Apr 4 03:07:54 PDT 2000

"Edouard G. Parmelan" wrote:

> Humm, I just read config/arm/linux/config.frag and if $cross_compile ==
> yes, sizeof are setup.  I don't know why configure don't detect that
> you're in a cross-compiling environment :-(
> Could you remove line ``ac_cv_prog_cc_cross=${ac_cv_prog_cc_cross=no}''
> in config.cache and re-run configure ?

no I changed the following values

and re-ran the configure, it seems working.
Thanks for the direction.

But now it gives following errors:

arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../../../config -I../../../include
-I../../../kaffe/kaffevm/systems/unix-jthreads -I.. -I./.. -DTRANSLATOR -DJIT3
-DKVER=\"1.0.5\" -I/opt/ARM/lab/kaffe-1.0.5/./kaffe/kaffevm
-I../../../config -I../../../include
-I/usr/local/arm/glibc/arm-linux-glibc/include -g -O2 -Wall -Wstrict-prototypes
-c machine.c  -fPIC -DPIC -Wp,-MD,.deps/machine.TPlo -o .libs/machine.lo
/tmp/ccAE0hLI.s: Assembler messages:
/tmp/ccAE0hLI.s:11934: Error: bad instruction `call soft_fixup_trampoline'
/tmp/ccAE0hLI.s:11936: Error: bad instruction `popl %ecx'
/tmp/ccAE0hLI.s:11938: Error: bad instruction `jmp *%eax'
make[3]: *** [machine.lo] Error 1
make[3]: Leaving directory `/opt/ARM/lab/kaffe-1.0.5/kaffe/kaffevm/jit3'

> I think you should send config.log and config.cache so that others that
> use cross-compiling can help you.
> I have never try cross-compiling yet, but I hope does it for GNU/Hurd,
> it's in my TODO list for a while...
> --
> Edouard G. Parmelan

More information about the kaffe mailing list