Rockbox Development > Starting Development and Compiling

Compile Rockbox on Archlinux?

(1/2) > >>

Army:
Hi there

I'm on Archlinux, a rolling release Linux distribution, which is always very up to date. So the version of arm-elf-gcc is newer than recommended.
I do have an iPod Video, so I need arm-elf-gcc.


--- Code: ---Using arm-elf-gcc 4.3.2 (403)
WARNING: Your cross-compiler arm-elf-gcc 4.3.2 is not of the recommended
WARNING: version 4.0.3!
WARNING: This may cause your build to fail since it may be a version
WARNING: that isn't functional or known to not be the best choice.
WARNING: If you suffer from build problems, you know that this is
WARNING: a likely source for them...
Using arm-elf-ld 2.18
Found and uses ccache (/usr/bin/ccache)
Created Makefile

--- End code ---

It doesn't compile, as expected :( I tried to build the recommended version by myself, but it doesn't build. So my questions are:
- Are there any patches, which make Rockbox compile on an up to date distro? Was searching through the tracker, didn't find anything.
- Which distro has all the recommended versions of arm-elf-gcc and others? Is it Debian stable?! Because I thought about installing this in a virtual machine to build Rockbox in there.

Thanx :)

AlexP:
By far the best thing to do is run the rockboxdev.sh script in the tools directory.  It will get the correct versions of the cross compilers, apply patches that are required, qnd then build them for you.

Army:
Oh thanx! Seems to work quite well, compiling right at the moment, hope this thread will be closable then. But still, how do you devs look after compatibility with newer versions? For how long will it be 4.0.3?
Don't understand me wrong, this is no complaint, it's simply interest ;)

Greetz

GodEater:
We try out newer versions of compilers as they come along. We even submit bug reports back the gcc developers when we find them in the new versions. Unfortunately they're not very responsive - so we've stuck with versions we know that work.

saratoga:

--- Quote from: Army on September 24, 2008, 10:14:06 AM ---Oh thanx! Seems to work quite well, compiling right at the moment, hope this thread will be closable then. But still, how do you devs look after compatibility with newer versions? For how long will it be 4.0.3?
Don't understand me wrong, this is no complaint, it's simply interest ;)

Greetz

--- End quote ---

Someone tested 4.2 or 4.3 a while back and noted no apparent improvement for ARM, so we'll probably stick with 4.03 until some future version improves performance, some critical bug turns up that forces an update, or a new ARM target requires a newer build.

Navigation

[0] Message Index

[#] Next page

Go to full version