Rockbox Development > Starting Development and Compiling

[SOLVED] Compiling Rockbox on Arch Linux x86_64

(1/3) > >>

MkFly:
I'm trying to compile Rockbox on Arch Linux x86_64, the problem I am running into during compile:


--- Code: ---LD bootloader.elf
/usr/bin/arm-elf-ld: skipping incompatible /usr/lib/gcc/arm-elf/4.5.0/libgcc.a when searching for -lgcc
/usr/bin/arm-elf-ld: cannot find -lgcc
--- End code ---

I have installed:
cross-arm-elf-binutils-sysroot 2.20
cross-arm-elf-gcc-base 4.5.0
gcc 4.5.0

I've tried with gcc-multilib as well as compiling from a 32-bit chroot.

Anybody here compiled Rockbox on Arch Linux?  If so, what am I missing?

Piki:
I thought Rockbox was for digital audio players? Why do you want to compile on Arch 64bit anyways?

funman:
You should use our tools/rockboxdev.sh to build the right cross compiler with the right patches and the right options (hint: select the arm eabi cross compiler for arm targets).

Cross compilers from distros are not supported, use at your own risk and don't report bugs if you didn't build with our cross compiler.

MkFly:

--- Quote from: Piki on June 25, 2010, 07:53:27 PM ---I thought Rockbox was for digital audio players? Why do you want to compile on Arch 64bit anyways?
--- End quote ---
I'm trying to compile Rockbox on Arch Linux, not for Arch Linux.  :D


--- Quote from: funman on June 25, 2010, 08:04:40 PM ---You should use our tools/rockboxdev.sh to build the right cross compiler with the right patches and the right options (hint: select the arm eabi cross compiler for arm targets).

Cross compilers from distros are not supported, use at your own risk and don't report bugs if you didn't build with our cross compiler.
--- End quote ---
Ah ha, thank you.  I didn't know that, this is the first time I've tried compiling Rockbox outside of Cygwin.  I built an arm toolchain, the bootloader just compiled fine now, Rockbox itself is up next.

Thank you for the help.  ;D

EDIT: Is *everything* installed to /usr/local?

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)

Piki:
Ah, sorry for the misinterpretation, the way I read the post made me think you were trying to make a multimedia system out of your computer.

Navigation

[0] Message Index

[#] Next page

Go to full version