Cross compiling Kafee for ARM SA1100 (Brutus board)
Nandana
nkuruwitage at sri.atpos.com
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
ac_cv_sizeof___int64=${ac_cv_sizeof___int64=0}
ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
ac_cv_sizeof_long=${ac_cv_sizeof_long=4}
ac_cv_sizeof_long_long=${ac_cv_sizeof_long_long=8}
ac_cv_sizeof_short=${ac_cv_sizeof_short=2}
ac_cv_sizeof_voidp=${ac_cv_sizeof_voidp=4}
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/opt/ARM/lab/kaffe-1.0.5/./kaffe/kaffevm/systems/unix-jthreads
-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
> http://egp.free.fr
More information about the kaffe
mailing list