Pandora Toolchain for Mac OS X?

RodrigoCard

Member
Joined
Mar 2, 2010
Messages
148
Age
33
I was wondering if there is any OpenPandora cross-compiler toolchain available for Mac OS X....
Is there?

Thank you
 

bukkit

Member
Joined
Jun 7, 2010
Messages
221

slaanesh

Certified Guru
Joined
Nov 9, 2005
Messages
1,993
Age
50
Location
Melbourne, Australia
Website
www.slaanesh.net
3. You could try my prebaked, Jessie compatible gcc 4.9.2 toolchain which I use to compile the Pyra kernels: http://download.goldelico.com/quantumstep/Xtoolchain/packages/ but it is not actively maintained and documented
How do you set this up?

I simply downloaded it and plopped the directories into my $HOME.

I added the 'bin' directory containing 'arm-linux-gnueabi-gcc', etc to my path.

When I make a project i get an error saying that size_t isn't defined. I've set up some extra "INCLUDES = -I$(HOME)/x86_64-apple-darwin15.0.0/gcc/arm-linux-gnueabi/lib/gcc/arm-linux-gnueabi/4.9.2/include" to my project but I think there is something else missing.
 

TrashyMG

Sarcasm Dispenser
Staff member
Joined
Jan 18, 2010
Messages
10,674
hns method is likely not pandora specific enough, as likely it will have libraries not on the ancient SuperZaxxon environment.

Used to rock sebt3's crosscompiler setup for a long time, on linux I would install it directly, I had a linux VM running on my Mac for a bit. Then just migrated to using my 1GHz unit and the command line tools that reside with ptitseb's codeblocks PND, there is less of the complications that cross-compiling gives you when directly compiling on the Pandora.
 

slaanesh

Certified Guru
Joined
Nov 9, 2005
Messages
1,993
Age
50
Location
Melbourne, Australia
Website
www.slaanesh.net
Well I guess that's okay, I may just copy the includes and libs over from the Pandora and see how that goes. Just keep the gcc specific stuff and everything in /usr/include and /usr/lib.
 

slaanesh

Certified Guru
Joined
Nov 9, 2005
Messages
1,993
Age
50
Location
Melbourne, Australia
Website
www.slaanesh.net
Okay well I cobbled it together and it works. I created a $HOME/superzaxxon1_76/usr/lib, $HOME/superzaxxon1_76/usr/include and $HOME/superzaxxon1_76/lib which mimic the relevant Pandora’s directories. I copied the required *.h, *.a and *.so into these directories adjusted my makefile’s -I and -rpath-link and it built my binary.
Some of the *.so files are scripts (which contain paths) that also needed adjusting.
Copied the binary to my pandora and bam! Working toolchain.
 
Top