[kaffe] help, can't find kaffeh file

Dalibor Topic robilad at kaffe.org
Mon Aug 16 14:03:28 PDT 2004

王凯 wrote:
> I'm installing kaffe into my embedded linux on an XScale board. 
> First, I set the environment variables:
> export CC=arm-linux-gcc
> export AS=arm-linux-as
> export LD=arm-linux-ld
> export CPP='arm-linux-gcc -E'
> export AR=arm-linux-ar
> export NM=arm-linux-nm
> export STRIP=arm-linux-strip
> export OBJCOPY=arm-linux-objcopy
> export OBJDUMP=arm-linux-objdump
> export RANLIB=arm-linux-ranlib
> export QTDIR=/usr/local/qt-2.3.2
> export PATH=$QTDIR/bin:$PATH
> export PATH=/home/sitsang/tmp/sitsang_fs/usr/local/kaffe/bin:$PATH
> export KAFFEH=/home/sitsang/tmp/sitsang_fs/usr/local/kaffe/bin/kaffeh
> Then I configured it with:
> ./configure --prefix=/home/sitsang/tmp/sitsang_fs/usr/local/kaffe --build=i386-linux --host=arm-linux CC=arm-linux-gcc CXX=arm-linux-g++ CPP='arm-linux-gcc -E' --with-qtdir=/usr/local/qt-2.3.2 --with-awt=qt --with-includes=/usr/local/arm-linux/include --with-libraries=/usr/local/arm-linux/lib --without-x --target=arm-linux --enable-pure-java-math --disable-esdtest --without-esd
> There was no error occured in configure.
> But when I tried to make it, it told me that there is no kaffeh file in /home/sitsang/tmp/sitsang_fs/usr/local/kaffe/bin/kaffeh
> I wonder is there anything wrong in the configure? Or is there any parameters I forgot?
> I need your help.
> And it's my first time to use mail list, I don't konw how to get your reply. Do I need to login to some web site? If so, please write to me at least this time. My email: wang__kai at sjtu.edu.cn or wang__kai__ at hotmail.com  . 
> Thanks alot.

Hi wang kai,

In order to be able to cross compile kaffe for a different platform, you
need a native installation of kaffeh on the build host. If you tell
configure that KAFFEH is in
/home/sitsang/tmp/sitsang_fs/usr/local/kaffe/bin/kaffeh but there turns
out to be no KAFFEH there, the build fails, as you have experienced.

Are you sure that you installed the local version of kaffe into
/home/sitsang/tmp/sitsang_fs/usr/local/kaffe/ ?

for documentation on cross compilaing kaffe.

best of luck,
dalibor topic

More information about the kaffe mailing list