Re: OpenEuphoria on the raspberry pi
- Posted by Jerome Feb 12, 2013
- 3135 views
i'm building on the raspberry pi rather than cross compiling (i have my old raspberry pi scratchbox2 vm but i've not used it in a few months as i've been working on some scripts and xmpp servers) and the newer branches were freezing when building. i'll tweak gpu/arm mem split and see if that helps building newer changesets and i'll use O3. by the way what version of gcc are you using as that has effected speed before on raspbian.
Ah, ok! I have the recommended compiler from the raspberry pi foundation setup in my scratchbox:
sb2 -t raspbianhf gcc -v Using built-in specs. Target: arm-linux-gnueabihf .... Thread model: posix gcc version 4.7.2 20120731 (prerelease) (crosstool-NG linaro-1.13.1+bzr2458 - Linaro GCC 2012.08)
For reference, the gcc version on my pi is:
pi@raspberrypi ~/Code/Euphoria $ gcc -v Using built-in specs. Target: arm-linux-gnueabihf .... Thread model: posix gcc version 4.6.3 (Debian 4.6.3-14+rpi1)
While I can compile the latest revision in the default branch in scratchbox, that version seems to not work properly on my pi. Some of the example programs just stall out... I haven't discovered what the issue is yet, but this version seems to be stable on my pi:
sb2 -t raspbianhf ./eui -v Euphoria Interpreter v4.1.0 development 32-bit Linux, Using System Memory Revision Date: 2013-01-18 15:52:45, Id: 5957:e9e11b19737a
I'm curious to know what kind of performance you get after switching to -O3 and which revision you get working!
Thanks,
Ira