POV-Ray : Newsgroups : povray.programming : Successful cross-compilation for GP2X. Server Time
28 Mar 2024 18:37:16 EDT (-0400)
  Successful cross-compilation for GP2X. (Message 1 to 1 of 1)  
From: Julien Verneuil
Subject: Successful cross-compilation for GP2X.
Date: 12 Nov 2008 18:40:01
Message: <web.491b6937c36780a7406205a0@news.povray.org>
Hello,

i wanted to tell you the successful cross-compilation for GP2X (open-source,
Linux-based handheld video game console based on two 200mhz ARM core,
http://en.wikipedia.org/wiki/GP2X) of POV-Ray 3.6.1. :-)

Yes cross-compilation is possible!

This is downloadable on this website (binary + sources):

http://archive.gp2x.de/cgi-bin/cfiles.cgi?0,0,0,0,4,2706
http://archive.gp2x.de/cgi-bin/cfiles.cgi?0,0,0,0,46,2705

I didn't have too much problems to compile it, i used the last version of mingw,
however i did have some issues with libTIFF, i just disabled it.

POV-Ray work great under it and all functionnality are here, the scene "box.pov"
take 10s at 266mhz (overclocked), the "chess2.pov" scene take 1h30 at 200mhz to
render on it, it don't use the second core though.

It have a custom render preview build in with stats display, here is a
screenshot:

http://www.garzul.tonsite.biz/PovRay_GP2X/shadows.png

Here is what i used to configure it (you can look at the source-code for more
informations):

configure --without-x CXXFLAGS="-O2 -fomit-frame-pointer -msoft-float"
CFLAGS="-O2 -fomit-frame-pointer -msoft-float" --without-svga
--without-cygwin-dll --enable-strip --disable-optimiz --disable-shared
--disable-lib-checks AR=arm-linux-ar CXX=arm-linux-g++ CC=arm-linux-gcc
--host=arm-linux

If anyone knows any others speed optimization tricks i could try to improve it,
i am open to suggestions... thanks! :-)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.