Rockbox mail archiveSubject: Re: ColdFire-rockbox and GCC 4.2.1
Re: ColdFire-rockbox and GCC 4.2.1
From: Magnus Holmgren <lear_at_algonet.se>
Date: Mon, 24 Sep 2007 22:15:26 +0200
Tapio Kelloniemi wrote:
> I've been trying to build Rockbox for H300 and X5 using Gcc 4.2.1 and binutils
I think you're better off with binutils 2.16.1. I used that when I
> My first problem was that in the generated Makefile the following compiler
GCC ColdFire support is limited in any GCC before 4.3. -m5206e is simply
> Then I got more serious problems: Compilation of apps/screens.c failed with
I didn't have any problem like that when building for a H120 using GCC
> I resolved this by compiling screens.c with -O0 (even -O did not work).
Minor changes in the code can be enough avoid problems like that - or so
> Last comes the problem I could not resolve: linker errors.
The linker in binutils 2.17+ is picky about the CPU architecture (e.g.,
> The X5 build gives has lots of undefined symbols (in addition to the above
Don't know what they are caused by though...
> So it seems that I have gone wrong when trying to resolve problems.
Use binutils 2.16 with GCC 4.2.1. It should fix the link problems at
Page was last modified "Jan 10 2012" The Rockbox Crew