[kaffe] cross-compilation for arm
mourad el badaoui
elbadaouimourad at gmail.com
Thu Mar 3 01:32:30 PST 2005
Hi
well i try to cross-compile kaffe-1.1.4 for arm but when i launch the
make i get some errors. First i set the variables and launch
./configure like that:
######################################
CC=arm-elf-gcc
NM=arm-elf-nm
AR=arm-elf-ar
AS=arm-elf-as
LD=arm-elf-ld
CPP='arm-elf-gcc -E'
STRIP=arm-elf-strip
RANLIB=arm-elf-ranlib
PATH=$HOME/kaffe/bin:$PATH
KAFFEH=$HOME/kaffe/bin/kaffeh
./configure --host=arm-linux --build=i686-linux --prefix=$HOME/crossarm
######################################
and it works without getting any error or warning, but when i launch
the make commande i get in the end the following errors:
######################################
/tmp/ccWkwAIY.s: Assembler messages:
/tmp/ccWkwAIY.s:11496: Error: no such instruction: `stmdb
sp!,{r0,r1,r2,r3,fp,ip,lr}'/tmp/ccWkwAIY.s:11497: Error: too many
memory references for `add'
/tmp/ccWkwAIY.s:11498: Error: too many memory references for `mov'
/tmp/ccWkwAIY.s:11499: Error: no such instruction: `bl
soft_fixup_trampoline (PLT)'
/tmp/ccWkwAIY.s:11500: Error: invalid char '[' beginning operand 2 `[sp'
/tmp/ccWkwAIY.s:11501: Error: no such instruction: `ldmia
sp!,{r0,r1,r2,r3,fp,ip,lr}'/tmp/ccWkwAIY.s:11502: Error: no such
instruction: `ldr pc,[sp,'
make[3]: *** [funcs.lo] Erreur 1
make[3]: Quitte le répertoire `/home/elbadaoui/kaffe-1.1.4/kaffe/kaffevm/jit'
make[2]: *** [all-recursive] Erreur 1
make[2]: Quitte le répertoire `/home/elbadaoui/kaffe-1.1.4/kaffe/kaffevm'
make[1]: *** [all-recursive] Erreur 1
make[1]: Quitte le répertoire `/home/elbadaoui/kaffe-1.1.4/kaffe'
make: *** [all-recursive] Erreur 1
########################################
can somone tell me what's the matter?
any pointer or suggestion will be helpful and thx.
More information about the kaffe
mailing list