Hi all, <br>Below I describe the steps that I took to build kaffe-1.1.7 for arm (PXA 255):<br><br>first make sure that you have zlib, libxml2 and libxslt for arm both on the target and on the crosscompiling machine.<br>Then compile kaffe for the cross-compiling machine, possibly x86, and add the <br>binaries installation directory to your PATH variable<br><br>then make a file, eg. my_conf.sh, with the following contents:<br>#---------------------------------------------------------------------------------------<br><br>toolchain=/opt/xdvl/toolchain/bin2.14-gcc3.3.2-glibc2.3.2_nw9<br>zlib=/opt/xdvl/arm-linux-zlib/1.2.1-glibc2.3.2_nw9<br>libxml=/opt/xdvl/arm-linux-libxml2-2.6.17<br>libxslt=/opt/xdvl/arm-linux-libxslt-1.1.13<br><br>export PATH=$toolchain/bin:$PATH<br>env CC=arm-linux-gcc NM=arm-linux-nm AR=arm-linux-ar STRIP=arm-linux-strip \<br> XSLT_CONFIG=$libxslt/bin/xslt-config \<br> ./configure --host=arm-linux --build=i686-linux
\<br> --prefix=/usr/jre --libexecdir=/usr/kaffe/bin \<br> --with-includes=$zlib/include \<br> --with-libraries=$zlib/lib \<br> --with-engine=intrp \<br> --enable-pure-java-math \<br> --enable-libxmlj \<br> --with-esd=no \<br> --with-alsa=no \<br> --with-awt=no \<br> --x-includes=no \<br> --x-libraries=no \<br> --with-x=no \<br> --disable-native-awt \<br> --with-kaffe-qte-awt=no \<br> --with-kaffe-x-awt=no \<br> --disable-xawt-xi18n \<br> --with-classpath-gtk-awt=no \<br> --disable-gtk-peer \<br> --with-jikes \<br> --disable-debug \<br> --disable-xprofiling \<br> --disable-xdebugging
\<br> --disable-feedback \<br> --with-profiling=no \<br> --with-gmpi=no \<br> --with-stats=no \<br> --disable-gcj \<br> --disable-alsatest \<br> --disable-esdtest \<br> --enable-xscale \<br> --disable-xmltest \<br> --disable-xslttest \<br> --with-includes=$zlib/include \<br> --with-libraries=$zlib/lib \<br> --with-xml-prefix=$libxml \<br> --with-xslt-prefix=$libxslt<br>#--------------------------------------------------<br><br>change the toolchain and other locations with the ones that are correct for <br>your case.<br><br>run the above script. <br>$.chmod +x my_conf.sh<br>$./my_conf.sh<br>Then<br><br>$make<br>$make DESTDIR=somewhere_you_like install<br><br>then, <br>$scp -r somewhere_you_like/usr/jre arm_system:/usr<br><br>it
should work<br>good luck<br><br>Regards,<br>Ioannis Liverezas<br><br><p>
                <hr size=1>New Yahoo! Messenger with Voice. <a href="http://us.rd.yahoo.com/mail_us/taglines/postman5/*http://us.rd.yahoo.com/evt=39666/*http://beta.messenger.yahoo.com">Call regular phones from your PC</a> and save big.