[kaffe] Kaffe 1.0.7 for imx21

Jose Maria Hinojo jose.maria.hinojo at gmail.com
Sun Oct 21 08:16:37 PDT 2007

Good afternoon,

I am trying to implement virtual machine Kaffe version 1.0.7 on a
plate iMX21ADS and I am having problems in the compilation crusade.
The steps still are:

1-I download the package kaffe-1.0.7.tar.gz.
2-I descompress in the directory /kaffe/kaffe-1.0.7.
3 - I make two directories with routes:
4 -cd /kaffe/kaffe-native and configure the virtual machine inside it
in the following way:
         .. /kaffe-1.0.7/configure --prefix=/ usr/local/kaffe-1.0.7
          Make install
5-This machine is installed correctly.
6 - cd ../kaffe-arm/
7 - I believe the following variables:
Export CC=$DIR_CROSS/arm-linux-gcc
Export NM=$DIR_CROSS/arm-linux-nm
Export AR=$DIR_CROSS/arm-linux-ar
Export LD=$DIR_CROSS/arm-linux-ld
Export RANLIB=$DIR_CROSS/arm-linux-ranlib
Export CPP=$DIR_CROSS/arm-linux-cpp
Export CXX=$DIR_CROSS/arm-linux-c++
Export KAFFEH=/usr/local/kaffe-1.0.7/bin/kaffeh
8-come to the configuration
../Kaffe-1.0.7/configure --target=arm-linux --host=arm-linux
--build=i386-pc-linux-gnu --without-x
--with-engine=intrp --enable-debug --kaffe=unix-jthreads --enable-pure-java-math
    This ends without any notice or errors.

>From here, simply run make and make install to get the binaries that
you can install on my plate? Or should I do some intermediate step?
An other question, when i do the make 

An other question, when I do the make, I obtain the error '/pasting "*" and "sc" does not give a valid preprocessing token/'. 
How do I solve this problem?

Thanks in advance for the help.

More information about the kaffe mailing list