Pandora Crosscompiler Toolchain Based On Openpandora.org Ipks

elwing

Rabbit Addict
Joined
Feb 23, 2009
Messages
3,118
well, I'm not really confident about hacking that script being an almost total linux newbie... on other hand I'd like to avoid building completely outdated binaries...

I'll give it a go, but I'm already foreseeing an imminent huge timesink...

edit I really love the fact that GCW0 provide a trivial to use crosscompile toolchain...
 
Last edited by a moderator:

elwing

Rabbit Addict
Joined
Feb 23, 2009
Messages
3,118
hum, haven't checked yactfeau, I disregarded it at first since it's even older than the toolchain mentionned it... has it been updated lately?
 

elwing

Rabbit Addict
Joined
Feb 23, 2009
Messages
3,118
nice, I'd give it a go... a VM image is also really appealing... Thanks!
 

Voyageur

Member
Joined
Feb 3, 2006
Messages
47
Age
38
Location
Paris, France
Website
Visit site
Thanks for the script, I used it (after commenting CodeSourcery parts) to get a basic "cross-tree" to go along a crosstool-ng toolchain (linaro build with gcc 4.8)

I suppose the libgl1/libglu1 installed packages are pure software Mesa? (did not have time to test glshim yet :) )
 

x1212

Member
Joined
Apr 1, 2013
Messages
134
I just tried to get more recent toolchain using this scripts, but somehow I can't get egl, gles, and gles2 installed. Did some packagenames or -sources change?

I'm sure I was able to get a complete, working toolchain with this script in the past ...
 

Ghabry

Still Fresh
Joined
Feb 9, 2015
Messages
23
Compiling against that toolchain fails for me. At first there were problems in cmath, I just commented that out. But now it fails because of malloc:

arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cstdlib:119:11: error: '::malloc' has not been declared
make[2]: *** [easyrpg_player-color.o] Error 1


any idea why?
 

sebt3

homebrew player (P. & C.)
Joined
Sep 9, 2008
Messages
4,805
Age
39
Location
France
Website
sebt3.openpandora.org
Compiling against that toolchain fails for me. At first there were problems in cmath, I just commented that out. But now it fails because of malloc:

arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cstdlib:119:11: error: '::malloc' has not been declared

make[2]: *** [easyrpg_player-color.o] Error 1

any idea why?
this might apply : http://nerdland.net/unstumping-the-internet/malloc-has-not-been-declared/
Else, show me your env vars and how you configured your project. configure log might be usefull too :)

(btw: irc:freenode#openpandora might give you advices too)
 
Last edited by a moderator:

alxm

Still making GP2X and Pandora games, stay tuned!
Joined
Jul 11, 2013
Messages
181
Website
www.alxm.org
I ran the script today to try the arm-2013.11 toolchain. The OPKG archive link is stale, you need to update the wget address on line 267 from:

Code:
http://opkg.googlecode.com/files/$OPKG_ARCHIVE
to
Code:
https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/opkg/$OPKG_ARCHIVE
In addition, you also need to install the libssl-dev package. Other than that this script (and the toolchain it puts together) still works in 2018 on my Linux Mint 18 system! Thanks for the great work :)
 

slaanesh

Certified Guru
Joined
Nov 9, 2005
Messages
1,993
Age
50
Location
Melbourne, Australia
Website
www.slaanesh.net
I also ran this script a few days ago (July 2019) and with the mods in the above post it also worked for me building the arm-2013.11 toolchain.

One stumbling block I had was that my system is 64-bit and this builds a 32-bit toolchain.
Make sure you install something like this:

sudo apt install libc6-i386

So is there an even later toolchain available?
 
Top