Rockbox Technical Forums
Rockbox Development => Starting Development and Compiling => Topic started by: Bedlore on March 03, 2012, 01:22:52 AM
-
Where can I find m68k-elf-gcc for Ubuntu, I need to compile myself because I use iH120 with the RTC mod so need to select Advanced / RTC which I don't think the installer offers.
Thanks
-
You obviously need to install the compiler. See the wiki.
-
Which compiler though, this http://www.rockbox.org/wiki/HowToCompile indicates a package called m68k-elf-gcc but I can't find any such package. This is the only thing which is close and doesn't help.
$ apt-cache search gcc |grep m68
gcc-m68hc1x - GNU C compiler for the Motorola 68HC11/12 processors
-
This is not a package, it's the compiler. Even if your distro provides a package you shouldn't use it sine we use a specific version. rockboxdev.sh is a script to set that up for you. The wiki page should mention it.
-
Thanks Bluebrother, using the script now, I found no mention of it in the wiki page I linked to above however.
-
It's not directly mentioned on that page but the compiler issue is explained and the wiki page explaining it is linked. Is there anything unclear about that paragraph that should be clarified?
Before you start
Do you have the cross compilers installed? Rockbox cannot be built on your standard compilers. Instructions for installing the cross compilers can be found at http://www.rockbox.org/wiki/CrossCompiler