Rockbox Technical Forums

Rockbox Development => Starting Development and Compiling => Topic started by: shanepardue on September 02, 2006, 11:42:37 PM

Title: compiling rockbox error
Post by: shanepardue on September 02, 2006, 11:42:37 PM
i'm having a hard time compilling..i couldn't find the "arm-elf-gcc" anywhere. i did find an old version of it and this is my output from "make"

/build$ make
make[1]: `rdf2binary' is up to date.
make[1]: `convbdf' is up to date.
make[1]: `scramble' is up to date.
make[1]: `ipod_fw' is up to date.
make[1]: `bmp2rb' is up to date.
make[1]: `codepages' is up to date.
cpp0: config.h: No such file or directory
CONVBDF
Header parsed
CC sysfont.c
cc1: Invalid option `long-calls'
make[1]: *** [/media/ipod/build/firmware/sysfont.o] Error 1
make: *** [all] Error 2
Title: Re: compiling rockbox error
Post by: Bagder on September 03, 2006, 04:03:19 AM
You should use arm-elf-gcc version 4.0.x
Title: Re: compiling rockbox error
Post by: bluebrother on September 03, 2006, 04:12:32 AM
i'm having a hard time compilling..i couldn't find the "arm-elf-gcc" anywhere.
Where did you search? You can find gcc on its homepage. Most probably you'll need to build it yourself. To help with this there is a script in the tools/ directory called "rockboxdev.sh" which sets up the compiler environment for you. Also, there is a wiki page that describes how to setup your build environment.
Title: Re: compiling rockbox error
Post by: madsic on September 07, 2006, 06:52:03 AM
i'm having a hard time compilling..i couldn't find the "arm-elf-gcc" anywhere.
Where did you search? You can find gcc on its homepage. Most probably you'll need to build it yourself. To help with this there is a script in the tools/ directory called "rockboxdev.sh" which sets up the compiler environment for you. Also, there is a wiki page that describes how to setup your build environment.

Uhm could you link to that wiki becuase I cant find it (unless you are referrring to the cygwin page which I suppose is useless when you're on ubuntu as me...?)

EDIT: Nevermind, found it in another thread (http://forums.rockbox.org/index.php?topic=6306.0).
Title: Re: compiling rockbox error
Post by: LinusN on September 07, 2006, 07:18:18 AM
[sarcasm]
There is this wonderful section on the rockbox home page, called "documentation". There, under "For developers" (surprisingly), you can find a link called "First-time guide to Rockbox development". It's actually the first link in that section.
[/sarcasm]
 ;)
Title: Re: compiling rockbox error
Post by: bluebrother on September 07, 2006, 08:38:24 AM
Uhm could you link to that wiki becuase I cant find it (unless you are referrring to the cygwin page which I suppose is useless when you're on ubuntu as me...?)
Have you looked at the navigation at the left side of this page? If you still don't find the wiki I can't really help you any further ...
Title: Re: compiling rockbox error
Post by: madsic on September 11, 2006, 04:30:55 AM
[sarcasm]
There is this wonderful section on the rockbox home page, called "documentation". There, under "For developers" (surprisingly), you can find a link called "First-time guide to Rockbox development". It's actually the first link in that section.
[/sarcasm]
 ;)


[spite]Yeah, your mama....[/spite]   :P

Anyway, I didn't figure that this was a 'developers' issue - for some reason I do not consider myself as such....