Re: [Jamvm-general] JamVM + LWJGL + OpenJDK running 60fps 1080p on RaspberryPi!
Brought to you by:
rlougher
From: modsrm <mo...@gm...> - 2012-12-21 17:10:00
|
Hey man, thanks for the answer. I managed to cross compile jamvm and gnu classpath with the crosscompiler built with crosstool-ng. Both my build and target arm machines are running Arch Linux. I used openembedded in the past, and im gonna try stay away from it, cos i want to have full control and understanding on what i cross build. In attachment the commands i used to cross compile and install on the build machine. I then just copied the content of the target folder to my arm board. I hope it helps somebody else too. Ciao, R. http://old.nabble.com/file/p34824547/gnu_classpath_build.txt gnu_classpath_build.txt http://old.nabble.com/file/p34824547/jamvm_build.txt jamvm_build.txt Xerxes Rånby wrote: > > 2012-12-19 12:26, modsrm skrev: >> >> Hi Xerxes, >> >> Roberto here. >> I see you are running jamVM on ARM. Ive been trying to cross compile it >> with >> the crosstool ng toolchain but i cannot get over the following issue, i >> thought maybe you have a solution! >> > Sorry the errors you see are unknown to me, I rarely run manual cross > compiles, I prefer building on target. > > The OpenEmbedded meta-java can automate a cross compile of JamVM + OpenJDK > 6 or 7. > https://github.com/woglinde/meta-java > Build instructions: > https://github.com/woglinde/meta-java/wiki > > I think meta-java can help you perform a cross compilation. > >> Im building on a 32 bit x86 machine, here is my configure command: >> >> PATH=$PATH:/home/mods/development/embedded/tools/toolchain/arm-unknown-linux-gnueabi/bin/ >> ./configure --host=arm-unknown-linux-gnueabi >> CPPFLAGS="-I/home/mods/development/embedded/tools/rootfs/include" >> LDFLAGS="-L/home/mods/development/embedded/tools/rootfs/lib" >> >> The extra CPPFLAGS and LDFLAGS are passed in to specify where the cross >> compiled zlib is. >> >> Configure succeeds, but then make fail with the following error: >> >> arm-unknown-linux-gnueabi-gcc -g -O2 >> -I/home/mods/development/embedded/tools/rootfs/include >> -L/home/mods/development/embedded/tools/rootfs/lib >> engine/compute_relocatability.c -o engine/compute_relocatability >> engine/compute_relocatability.c:24:17: fatal error: jam.h: No such file >> or >> directory >> >> Did you cross compile it or did you build it on the target? > > I build it on target like this: http://labb.zafena.se/?p=576 > > JamVM is pre-packaged for use on Debian/Rasbian and Ubuntu systems. > Simply install: > apt-get install openjdk-7-jre icedtea-7-jre-jamvm > and then run jamvm using: > java -jamvm > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Jamvm-general mailing list > Jam...@li... > https://lists.sourceforge.net/lists/listinfo/jamvm-general > > -- View this message in context: http://old.nabble.com/JamVM-%2B-LWJGL-%2B-OpenJDK-running-60fps-1080p-on-RaspberryPi%21-tp34661213p34824547.html Sent from the JamVM mailing list archive at Nabble.com. |