You are not logged in.
I'm trying to compile Rockbox, the problem I am running into during compile:
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
I've tried with gcc-multilib as well as compiling from a 32-bit chroot. What am I missing here?
Last edited by MkFly (2010-06-26 02:16:20)
Offline
The 'arm' part is what's wrong. You need an ARM cross compiler.
Well, sure. I should have posted that I have installed:
cross-arm-elf-binutils-sysroot 2.20
cross-arm-elf-gcc-base 4.5.0
Anyway, my error was pointed out to me by Rockbox dev funman over on the Rockbox forums:
http://forums.rockbox.org/index.php?topic=25155
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.
I was unware of that, having only compiled Rockbox in Cygwin before.
Offline
I asked this very same thing in the rockbox forums a long time ago, seems like you didn't use the search function! :-P http://forums.rockbox.org/index.php?topic=18686
Offline
Ha. Actually, I did try the search, but not as "Archlinux", just "Arch Linux" ... very different results. :-/
Offline