AW: help with Sable for ARM micro

"Marco Rotellini" <[email protected]> Thu, 19 Oct 2006 14:38:12 +0200
Newsgroups gmane.comp.java.vm.sablevm.general
Message-ID <[email protected]>
Hi Benjamin
=20
We are running SableVM on ARM. To crosscompile (from a Debian), we =
proceeded the following steps:


-----------------------------------------------------
- Copy libtool-header to ./src/include:
cp /usr/java/include/ltdl.h  ./src/include

- compile sableVM:
export PATH=3D/path/to/crosscompiler:$PATH
./configure --host=3Darm-linux --target=3Darm-linux --prefix=3D/usr/java =
LDFLAGS=3D"-L/usr/java"

make

make install

-compile sableVM classpath:
./configure --host=3Darm-linux --target=3Darm-linux --prefix=3D/usr/java =
LDFLAGS=3D"-L/usr/java" --disable-gtk-peer=20
-------------------------------------------------------


Hope this helps
Marco
=20
=20

________________________________

Von: [email protected] =
[mailto:[email protected]] Im Auftrag von Benjam=EDn =
Molina
Gesendet: Mittwoch, 18. Oktober 2006 14:23
An: [email protected]
Betreff: help with Sable for ARM micro


Hello,
I am trying to run sable on a device with an ARM micro. I tried to =
advance on my own but I don't know how to solve my problem, I hope you =
can help me!
I compile the classpath from my fedora:
./configure --host=3Darm-linux --prefix=3D/root/sablearm =
--disable-gtk-peer --disable-qt-peer --enable-debug --with-jikes=20
a) I don't know if the options are correct, specially the --with-jikes =
option
...then make ; make install -> no problem
After that I compile the vm:
./configure LDFLAGS=3D-L/root/libltdl/lib =
CPPFLAGS=3D-I/root/libltdl/include --host=3Darm-linux =
--prefix=3D/root/sablearm=20
b)I don't know if the options are correct. About libltdl: the lib is =
crosscompiled for ARM, is this crosscompiling ok or should it be =
compiled for the host machine??
...then make; make install -> no problem
I put the files into the device, but when I run java-sablevm libltdlt is =
missing. I put the crosscompiled libltdl on the device and target =
LD_LIBRARY_PATH to the location. Problem solved i think.=20
I go again and i get:
java.lang.UnsatisfiedLinkError: Native library `javanio' not found (as =
file `libjavanio') in gnu.classpath.boot.library.path and =
java.library.path
I add the location /var/sablearm/lib/sablevm-classpath/ to =
LD_LIBRARY_PATH but it doesn't work=20
No idea what i am doing wrong. Could you help me??
Thanks a lot!
Benjam=EDn Molina