[kaffe] Re: cross-compilation for arm

mourad el badaoui elbadaouimourad at gmail.com
Thu Mar 3 03:26:42 PST 2005


hi again 
i have tryied an other way by writting a script which i found in an
old discussion and it includes the following instructions:
################################################################
CFLAGS="-mcpu=arm9 -Wl,-elf2flt -D__ARM__ -D__uclinux__" \
PATH="$HOME/kaffe/bin:$PATH" \
KAFFEH="$HOME/kaffe/bin/kaffeh" \
CC="/usr/local/bin/arm-elf-gcc" \
CXX="/usr/local/bin/arm-elf-g++" \
AR="/usr/local/bin/arm-elf-ar" \
NM="/usr/local/bin/arm-elf-nm" \
../kaffe-1.1.4/configure \
--prefix=$HOME/kaffe-arm \
--disable-profiling \
--disable-xprofiling \
--disable-xdebugging \
--disable-feedback \
--without-profiling \
--without-stats \
--disable-gcj \
--host=arm-linux \
--build=i686-linux \
--enable-pure-java-math \
--with-includes=/usr/local/arm-elf/include \
--with-libs=/usr/local/arm-elf/lib \
--with-staticlib \
--with-staticvm \
--with-staticbin \
--enable-shared=no \
--enable-static=yes \
--disable-sound \
--without-awt
##################################################################
it works very well but when i launch the make command i get those errors:
##############################################
../../../include/system.h:48: #error "Separators undefined for this system"
make[2]: *** [System.lo] Erreur 1
make[2]: Quitte le répertoire
`/home/elbadaoui/kaffe-1.1.4/libraries/clib/native'
make[1]: *** [all-recursive] Erreur 1
make[1]: Quitte le répertoire `/home/elbadaoui/kaffe-1.1.4/libraries/clib'
make: *** [all-recursive] Erreur 1
##############################################
well first i wonder understand the meaning of the variable : CFLAGS,
and why did i get this error from system.h?
thx again
cheers , Mourad



More information about the kaffe mailing list