[kaffe] Kaffe 1.0.7 for imx21

Dalibor Topic robilad at kaffe.org
Sun Oct 21 09:25:24 PDT 2007


Jose Maria Hinojo wrote:
> Good afternoon,
> 
> I am trying to implement virtual machine Kaffe version 1.0.7 on a

1.0.7 is several years old. Please use 1.1.8 instead.

> 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:
>         /kaffe/kaffe-native
>         /Kaffe/kaffe-arm
> 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
>          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-includes=/opt/Embedix/usr/local/arm-linux/gcc-3.3.2-glibc-2.3.2/arm-linux/include/
> 
> --with-lib=/opt/Embedix/usr/local/arm-linux/gcc-3.3.2-glibc-2.3.2/arm-linux/lib
> 
> --prefix=/arm/kaffe
> --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?

make && make install should do the trick.

> 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?

You enter the error message in the Google search field and find a thread
on kaffe.org from 2003 that hopefully tells you that your problem has
been solved in a later version:
http://www.kaffe.org/pipermail/kaffe/2003-June/094575.html ;)

Please use 1.1.8 instead of 1.0.7.

cheers,
dalibor topic




More information about the kaffe mailing list