Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Compiling the Cross Compiler on Mac OS X
From: Trevor Savage (closetpacifist_at_myrealbox.com)
Date: 2003-07-07


The latest version of binutils compiled fine, out of the box.
After that gcc 3.3 compiled better, but still didn't get there. Only
difference from the 3.1 compile was that you also had to run 'limit
stack 800' at the command line. Also had to add -I/usr/include/ to
$INCLUDES in /gcc-3.3/gcc/Makefile.

Tried compiling 3.1 again, it worked GREAT!

When I try to compile Rockbox, however, I get the following errors or so:
    plugins.h: No such file or directory
    lang.h: No such file or directory
    collect2: ld terminated with signal 10 [Bus error], core dumped

Rather nasty...

Also, when I try to compile the uisimulator I get these errors:
    /usr/include/ppc/endian.h:73: warning: redefinition of macro
BIG_ENDIAN
    gcc3: unrecognized option `-pthread'
    ld: Undefined symbols:
       _strtok_r

The fix for the last one, which stops the compile, is evidentially to
replace all instances of strtok_r with strtok, but there /are/ no
instances of strtok_r that I can find in rockbox...

On Friday, July 4, 2003, at 09:19 PM, Trevor Savage wrote:
<snip>
> Installed binutils 2.11 as per the instructions on the rockbox page.
>
> Then, as gcc evidentially didn't compile on OS X until version 3.1, I
> set about compiling gcc 3.1.
> I s/.global/.globl/'s the first part of the lib1funcs.asm file, then I
> executed the following commands:
<snip>



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa