Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Compiling on Ubuntu - m68k-elf-gcc not found
« previous next »
  • Print
Pages: [1]

Author Topic: Compiling on Ubuntu - m68k-elf-gcc not found  (Read 4122 times)

Offline Bedlore

  • Member
  • *
  • Posts: 27
Compiling on Ubuntu - m68k-elf-gcc not found
« 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
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3488
  • creature
Re: Compiling on Ubuntu - m68k-elf-gcc not found
« Reply #1 on: March 03, 2012, 03:20:46 AM »
You obviously need to install the compiler. See the wiki.
Logged

Offline Bedlore

  • Member
  • *
  • Posts: 27
Re: Compiling on Ubuntu - m68k-elf-gcc not found
« Reply #2 on: March 03, 2012, 03:39:19 AM »
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
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3488
  • creature
Re: Compiling on Ubuntu - m68k-elf-gcc not found
« Reply #3 on: March 03, 2012, 04:32:52 AM »
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.
Logged

Offline Bedlore

  • Member
  • *
  • Posts: 27
Re: Compiling on Ubuntu - m68k-elf-gcc not found
« Reply #4 on: March 03, 2012, 07:12:49 AM »
Thanks Bluebrother, using the script now, I found no mention of it in the wiki page I linked to above however.
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3488
  • creature
Re: Compiling on Ubuntu - m68k-elf-gcc not found
« Reply #5 on: March 03, 2012, 07:22:02 AM »
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?

Quote
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
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Compiling on Ubuntu - m68k-elf-gcc not found
 

  • SMF 2.0.18 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.024 seconds with 18 queries.