Re: help with Sable for ARM micro
"BenjamÃn Molina" <[email protected]> Mon, 23 Oct 2006 11:04:28 +0200
| Newsgroups | gmane.comp.java.vm.sablevm.general |
|---|---|
| Message-ID | <[email protected]> |
--===============0915396952== Content-Type: multipart/alternative; boundary="----=_Part_199853_24002828.1161594268790" ------=_Part_199853_24002828.1161594268790 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Marco, finally its running with this configure options: ./configure --host=3Darm-linux --prefix=3D/var/sablearm --disable-gtk-peer --disable-qt-peer --enable-debug --enable-static <- for the classpath ./configure LDFLAGS=3D-L/root/cclibltdl/lib CPPFLAGS=3D-I/root/cclibltdl/in= clude --host=3Darm-linux --prefix=3D/var/sablearm --enable-static <- for the virt= ual machine Now it weighs 24 megas but we thats ok for us because everything is working now: threads, drivers, ... Thanks for your help!!! Benjam=EDn Molina 2006/10/19, Marco Rotellini <[email protected]>: > > Hi Benjamin > > 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 > ------------------------------------------------------- > > > Hope this helps > Marco > > > > ________________________________ > > 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 advanc= e > on my own but I don't know how to solve my problem, I hope you can help m= e! > I compile the classpath from my fedora: > ./configure --host=3Darm-linux --prefix=3D/root/sablearm --disable-gtk-pe= er > --disable-qt-peer --enable-debug --with-jikes > 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/incl= ude > --host=3Darm-linux --prefix=3D/root/sablearm > 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. > 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_PAT= H > but it doesn't work > No idea what i am doing wrong. Could you help me?? > Thanks a lot! > Benjam=EDn Molina > > > > > > _______________________________________________ > SableVM-user mailing list > [email protected] > http://sablevm.org/lists/control/listinfo/sablevm-user > ------=_Part_199853_24002828.1161594268790 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Marco,<br>finally its running with this configure options:<br>./configur= e --host=3Darm-linux --prefix=3D/var/sablearm --disable-gtk-peer --disable-= qt-peer --enable-debug --enable-static <- for the classpath<br>./configu= re LDFLAGS=3D-L/root/cclibltdl/lib CPPFLAGS=3D-I/root/cclibltdl/include --h= ost=3Darm-linux --prefix=3D/var/sablearm --enable-static <- for the virt= ual machine <br><br>Now it weighs 24 megas but we thats ok for us because everything is= working now: threads, drivers, ...<br><br>Thanks for your help!!!<br><br>B= enjam=EDn Molina<br><br><div><span class=3D"gmail_quote">2006/10/19, Marco = Rotellini < <a href=3D"mailto:[email protected]">[email protected]= m</a>>:</span><blockquote class=3D"gmail_quote" style=3D"border-left: 1p= x solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">= Hi Benjamin <br><br>We are running SableVM on ARM. To crosscompile (from a Debian), we = proceeded the following steps:<br><br><br>---------------------------------= --------------------<br>- Copy libtool-header to ./src/include:<br>cp /usr/= java/include/ltdl.h ./src/include <br><br>- compile sableVM:<br>export PATH=3D/path/to/crosscompiler:$PATH<br= >./configure --host=3Darm-linux --target=3Darm-linux --prefix=3D/usr/java L= DFLAGS=3D"-L/usr/java"<br><br>make<br><br>make install<br><br>-co= mpile sableVM classpath: <br>./configure --host=3Darm-linux --target=3Darm-linux --prefix=3D/usr/jav= a LDFLAGS=3D"-L/usr/java" --disable-gtk-peer<br>-----------------= --------------------------------------<br><br><br>Hope this helps<br>Marco<= br><br> <br><br>________________________________<br><br>Von: <a href=3D"mailto:sabl= [email protected]">[email protected]</a> [mailto:= <a href=3D"mailto:[email protected]">sablevm-user-bounces@sa= blevm.org </a>] Im Auftrag von Benjam=EDn Molina<br>Gesendet: Mittwoch, 18. Oktober 2= 006 14:23<br>An: <a href=3D"mailto:[email protected]">sablevm-user@s= ablevm.org</a><br>Betreff: help with Sable for ARM micro<br><br><br>Hello,<= br> 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!= <br>I compile the classpath from my fedora:<br>./configure --host=3Darm-lin= ux --prefix=3D/root/sablearm --disable-gtk-peer --disable-qt-peer --enable-= debug --with-jikes <br>a) I don't know if the options are correct, specially the --with-jikes = option<br>...then make ; make install -> no problem<br>After that I comp= ile the vm:<br>./configure LDFLAGS=3D-L/root/libltdl/lib CPPFLAGS=3D-I/root= /libltdl/include --host=3Darm-linux --prefix=3D/root/sablearm <br>b)I don't know if the options are correct. About libltdl: the lib is cr= osscompiled for ARM, is this crosscompiling ok or should it be compiled for= the host machine??<br>...then make; make install -> no problem<br>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. <br>I go again and i get:<br>java.lang.UnsatisfiedLinkError: Native library= `javanio' not found (as file `libjavanio') in gnu.classpath.boot.library.p= ath and java.library.path<br>I add the location /var/sablearm/lib/sablevm-c= lasspath/ to LD_LIBRARY_PATH but it doesn't work <br>No idea what i am doing wrong. Could you help me??<br>Thanks a lot!<br>= Benjam=EDn Molina<br><br><br><br><br><br>__________________________________= _____________<br>SableVM-user mailing list<br><a href=3D"mailto:SableVM-use= [email protected]"> [email protected]</a><br><a href=3D"http://sablevm.org/lists/control= /listinfo/sablevm-user">http://sablevm.org/lists/control/listinfo/sablevm-u= ser</a><br></blockquote></div><br> ------=_Part_199853_24002828.1161594268790-- --===============0915396952== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ SableVM-user mailing list [email protected] http://sablevm.org/lists/control/listinfo/sablevm-user --===============0915396952==--