Rockbox Development > Starting Development and Compiling

tools/rockboxdev.sh errors

<< < (2/2)

saratoga:

--- Quote from: sudoman on February 16, 2010, 09:06:12 PM ---i should note that the wiki suggests not to use 4.0.x (for coldfire) but doesn't mention which compiler to use in making the cross-compiler.

--- End quote ---

The 3rd line of the "manual build" section is quite clear what version to use, and provides you links to make sure you use them:

"ARM (arm-elf)    2.16.1 (download, mirrors, info)    4.0.3 (download, mirrors, info)"

Not to mention the rather obvious file names "rockbox-multilibs-arm-elf-gcc-4.0.3.diff".

bluebrother:

--- Quote from: sudoman on February 16, 2010, 09:06:12 PM ---i should note that the wiki suggests not to use 4.0.x (for coldfire) but doesn't mention which compiler to use in making the cross-compiler.

--- End quote ---

This is for the compiler to build (i.e. the version of gcc for cross compiling), not the version of gcc to build the cross compiler.

sudoman:
could this be the answer:?

http://forums.freescale.com/t5/68K-ColdFire-reg-Microprocessors/GCC-Cross-Compiler-for-Mac-OS-X-Darwin/m-p/48394

LambdaCalculus:

--- Quote from: saratoga on February 16, 2010, 04:42:01 PM ---Newer versions of MacOS pretty regularly break gcc.  Maybe check google and see if theres a fix. 

--- End quote ---

I was able to successfully build the cross compiler under OS X 10.5 on an Intel platform, and it's still working even after an upgrade to 10.6. I wasn't, however, successful in getting the cross compiler to build in OS X 10.5.8 on a PowerPC platform. The errors I got are the same as sudoman's original post. My machine is a PowerPC 970fx (G5).

sudoman:
yeah, i'm on a PPC G4.

Edit: I tried installing a binary copy of gcc 4.2.1 using fink. even trying to compile the cross-compiler with this version of gcc failed.

I've managed to submit a patch without having to test it so i don't really need the cross-compiler anymore. no need to sweat it. thanks.  :)

Navigation

[0] Message Index

[*] Previous page

Go to full version