[kaffe] Kaffe1.1.7 for ARM target - Where is rt.jar in cross-compiled Kaffe?

Ioannis Liverezas iliverez at inaccessnetworks.com
Tue Apr 25 02:16:35 PDT 2006


possibly you will need not only the header file zlib.h but the library too, 
both on your arm box and on your crosscompilation pc. 
First step is to check if your system has zlib cross-compiled. 
Search for libz.so in /usr/lib of your arm box. 
Step two:
Check if the cross-compiled library exists in you cross-compiling pc, in order 
to link kaffe against it. If it is not you, ask the person that has set up 
the cross compiling environment for that information.
Use configure --help on kaffe to see how to set the include and library 
directories. Set there the location of the crosscompilation libraries and 
header files.
On your arm box, make sure that the library exists in some of the default 
directories that the linker will search, eg. /usr/lib, or when running 
applications on the arm box, append the path to zlib on your LD_LIBRARY_PATH 
variable.
Good luck!
Regards,
Ioannis Liverezas

On Friday 21 April 2006 11:58, you wrote:
> Thanks for your reply
>
> i guess i've to put zlib.h (dev library) in my cross-compiler, but is
> there any specific directory for it?
>
>
> With regards
>
> Frederic
>
> On 4/20/06, Ioannis Liverezas <iliverez at inaccessnetworks.com> wrote:
> > I think that you will find rt.jar at /opt/vmkaffe-1.1.7/jre/lib
> > It must also be a link to glibj.zip
> > Make sure that you have zlib for arm and that you compile against that
> > library when crosscompiling
> >
> > Best regards,
> > Ioannis Liverezas
> >
> > On Thursday 20 April 2006 14:56, Frederic Kwiatkowski wrote:
> > > Hi all
> > >
> > > i'm currently trying to compile Kaffe 1.1.7 for Arm926.
> > > So as said in the FAQ about crosscompiling, i've first configure;
> > > make; make install to have a default kaffe and kaffeh on my i386 and
> > > next, i've configure the arm target with this command line:
> > > KAFFEH=/usr/local/kaffe/bin/kaffeh CC=arm-linux-gcc NM=arm-linux-nm
> > > AR=arm-linux-ar AS=arm-linux-as ./configure --target=arm
> > > --host=arm-linux --build=i686-linux --disable-debug
> > > --disable-xprofiling --disable-feedback --disable-gcj
> > > --disable-alsatest --disable-esdtest --disable-sound --disable-static
> > > --disable-native-awt --without-profiling --without-stats --without-gmp
> > > --without-suncompat --without-alsa --without-esd --without-x
> > > --without-classpath-gtk-awt --prefix=/opt/vmkaffe-1.1.7
> > > --exec-prefix=/opt/vmkaffe-1.1.7 --with-engine=intrp
> > > --with-staticlib=no --with-staticbin=no --with-staticvm=no
> > > --with-stats
> > > --with-includes=/home/katolecho/LxNetes_9750/LxNETES/include
> > > --with-libraries=/home/katolecho/LxNetes_9750/LxNETES/lib
> > > --enable-pure-java-math --disable-gtk-peer --with-jikes
> > > --with-kaffe-nanox-awt
> > >
> > > nice, isn't it...
> > > so after executing make and make install, i've checked
> > > /opt/vmkaffe-1.1.7 and i've seen that the classpath directory is a
> > > little bit small:
> > > 353K    /opt/vmkaffe-1.1.7/bin
> > > 163K    /opt/vmkaffe-1.1.7/info
> > > 18K     /opt/vmkaffe-1.1.7/man/man1
> > > 22K     /opt/vmkaffe-1.1.7/man
> > > 3,4M    /opt/vmkaffe-1.1.7/jre/lib/arm
> > > 4,3K    /opt/vmkaffe-1.1.7/jre/lib/security
> > > 13M     /opt/vmkaffe-1.1.7/jre/lib
> > > 62K     /opt/vmkaffe-1.1.7/jre/bin
> > > 13M     /opt/vmkaffe-1.1.7/jre
> > > 11K     /opt/vmkaffe-1.1.7/include/kaffe
> > > 121K    /opt/vmkaffe-1.1.7/include
> > > 6,0K    /opt/vmkaffe-1.1.7/lib/security
> > > 45K     /opt/vmkaffe-1.1.7/lib
> > > 50K     /opt/vmkaffe-1.1.7/share/classpath
> > > 54K     /opt/vmkaffe-1.1.7/share
> > > 14M     /opt/vmkaffe-1.1.7/
> > >
> > > rt.jar does not exist anymore? must i use GNU classpath?
> > > if anyone can help me in this way...
> > >
> > >
> > > With regards
> > > Frederic
> > >
> > > _______________________________________________
> > > kaffe mailing list
> > > kaffe at kaffe.org
> > > http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
> >
> > _______________________________________________
> > kaffe mailing list
> > kaffe at kaffe.org
> > http://kaffe.org/cgi-bin/mailman/listinfo/kaffe




More information about the kaffe mailing list