Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  problem building tool chain
« previous next »
  • Print
Pages: [1]

Author Topic: problem building tool chain  (Read 5427 times)

Offline raybert

  • Member
  • *
  • Posts: 26
problem building tool chain
« on: January 05, 2005, 06:16:18 PM »
Hi,

I'm trying to build the tool chain for rockbox but having some trouble: gcc won't compile (binutils and gdb compiled just fine).  The failure occurs on embed-bb.c (the error output is long so I won't post it unless someone requests it).  I suspect the problem is that I recently upgraded my system to Fedora Core 3 which installed gcc version 3.4.2.  So I'm trying to build the gcc cross compiler for sh1 (version 3.3.4) with gcc version 3.4.2/intel.  Anyone know what my options are?  Dare I try a newer version of the cross compiler (and which one, if so)?

Thanks,

~ray
Logged

Offline LinusN

  • Member
  • *
  • Posts: 1914
Re: problem building tool chain
« Reply #1 on: January 07, 2005, 07:07:48 PM »
You could try the latest 3.4 version. The generated code will be somewhat larger, but it should work fine.

I hope you are aware that building the 3.3 compiler for the SH1 requires special steps (compiling it with newlib). It's all in the instructions on the docs page.

Good luck.
Logged
Archos Jukebox 6000, Recorder, FM Recorder/iAudio X5/iriver H1x0, H3x0/Toshiba Gigabeat F20/iPod G5, G5.5

Offline raybert

  • Member
  • *
  • Posts: 26
Re: problem building tool chain
« Reply #2 on: January 08, 2005, 02:26:00 AM »
Hi Linus,

Thanks for the advice.  I'll give it a shot.

I do know about newlib, BTW.  I've been following the docs.

~ray
Logged

Offline raybert

  • Member
  • *
  • Posts: 26
Re: problem building tool chain
« Reply #3 on: January 09, 2005, 02:48:33 AM »
I got it working.  It turns out it was just a case of Stupid User Error.  I made the symlink for newlib in the wrong place: build dir instead of source dir.  doh!

Thanks again for your help Linus, even it was just Stupid User Error.   :-[

~ray
Logged

Offline LinusN

  • Member
  • *
  • Posts: 1914
Re: problem building tool chain
« Reply #4 on: January 09, 2005, 08:49:54 AM »
Nice to hear that you had it working. If you have an idea how to make the instruction more clear on this point, please tell me. Or have a go at it yourself, it's a wiki after all.
Logged
Archos Jukebox 6000, Recorder, FM Recorder/iAudio X5/iriver H1x0, H3x0/Toshiba Gigabeat F20/iPod G5, G5.5

Offline raybert

  • Member
  • *
  • Posts: 26
Re: problem building tool chain
« Reply #5 on: January 10, 2005, 01:56:00 AM »
Actually I think it is pretty clear.  I just didn't read it attentively enough. :(

I'm working on a new feature and its coming along very well.  I've gotten quite far with the existing docs in a short time.

There are a couple fo questions I have that I'm going to post to the developer's list shortly though (regarding updating lang files and creating LCD icons).  Those things could maybe use a little documentation (unless I've missed it somewhere).

~ray
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  problem building tool chain
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.022 seconds with 18 queries.