Rockbox Development > Starting Development and Compiling

[SOLVED] Compiling Rockbox on Arch Linux x86_64

<< < (2/3) > >>

saratoga:

--- Quote from: MkFly on June 25, 2010, 10:12:54 PM ---EDIT 2: With arm-eabi, I get:

--- Code: ---Bootloader build selected
../tools/configure: line 2800: arm-elf-gcc: command not found
../tools/configure: line 2807: arm-elf-ld: command not found
[WARNING] The compiler you must use (arm-elf-gcc) is not in your path!
[WARNING] this may cause your build to fail since we cannot do the
[WARNING] checks we want now.
--- End code ---
I'm assuming that this is because it's looking for arm-elf-gcc, but I have arm-elf-eabi-gcc installed?  Will symlinks be all that is needed? (yes, I set PATH, before anybody asks)

--- End quote ---

A few devices and maybe some bootloaders still need arm-elf-gcc.  Things are being switched over as its confirmed that they work as expected.

That said, compiling bootloaders is not recommended unless you absolutely must.  Are you sure you didn't mean to build a normal rockbox build?

MkFly:

--- Quote from: saratoga on June 25, 2010, 11:25:55 PM ---A few devices and maybe some bootloaders still need arm-elf-gcc.  Things are being switched over as its confirmed that they work as expected.

That said, compiling bootloaders is not recommended unless you absolutely must.  Are you sure you didn't mean to build a normal rockbox build?
--- End quote ---
Nah, I was just building the bootloader as a test before the main event, since it builds quick.

Okay, well I think I'll just keep on with arm-elf-gcc for now, and wait for everything to be supported by arm-eabi.  I found right after my posting though that my issue was forgetting to run tools/configure with --eabi.

How often should I rebuild the toolchains?  Do they get updated often?  It took a while to build.

saratoga:

--- Quote from: MkFly on June 25, 2010, 11:35:41 PM ---How often should I rebuild the toolchains?  Do they get updated often?  It took a while to build.

--- End quote ---

This is the first time we've ever updated ARM compilers.

funman:
--eabi should only be needed for the Ipod4G, that's the only model left which is built without eabi by default

MkFly:

--- Quote from: funman on June 26, 2010, 01:01:43 AM -----eabi should only be needed for the Ipod4G, that's the only model left which is built without eabi by default

--- End quote ---
Hmm, I ran tools/configure and selected 52 (Sansa c200), and it defaulted to arm-elf-gcc.  Not a problem at the moment though, since I compiled both arm and arm-eabi.

tools/configure

--- Code: ---52
Platform set to sansac200

Normal build selected
Using source code root directory: /media/external/rockbox
Using arm-elf-gcc 4.0.3 (400)
Using arm-elf-ld 2.16.1
Created Makefile
--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version