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
| | |-+  arm-elf-eabi-gcc not in PATH
« previous next »
  • Print
Pages: 1 [2] 3 4

Author Topic: arm-elf-eabi-gcc not in PATH  (Read 30182 times)

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: arm-elf-eabi-gcc not in PATH
« Reply #15 on: June 15, 2010, 04:21:30 PM »
Once you get it to actually build successfully, note that you don't need to change the path. The arm-whatever directory does not need to be in your path (and shouldn't be). The actual compiler binaries get installed to /usr/local/bin which is already in your path as you said, and that's all that needs to be there.
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

Offline oldschool83

  • Member
  • *
  • Posts: 10
Re: arm-elf-eabi-gcc not in PATH
« Reply #16 on: June 15, 2010, 04:34:07 PM »
Okay, maybe then I am not downloading the right/full gcc component?

Installing the compiler takes about an hour and ends with the error message.. Should I have a folder arm-elf-eabi-gcc somewhere after installing the compiler?
« Last Edit: June 15, 2010, 04:46:50 PM by oldschool83 »
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8968
Re: arm-elf-eabi-gcc not in PATH
« Reply #17 on: June 15, 2010, 04:48:55 PM »
Quote from: oldschool83 on June 15, 2010, 04:34:07 PM
Okay, maybe then I am not downloading the right/full gcc component?

Installing the compiler takes about an hour and ends with the error message.. Should I have a folder arm-elf-eabi-gcc somewhere after installing the compiler?

Yeah, but only if you actually get it to install.

FWIW compiling under a VM is about a million times faster then cgywin, so unless you really can't spare a couple GB of disk space or don't have admin access on your box, you might want to use that instead.
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: arm-elf-eabi-gcc not in PATH
« Reply #18 on: June 16, 2010, 06:44:48 AM »
If it installs successfully you will end up with numerous files named arm-elf-eabi-gcc, arm-elf-eabi-ld, and so on in /usr/local/bin, and also a directory /usr/local/arm-elf-eabi.
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

Offline oldschool83

  • Member
  • *
  • Posts: 10
Re: arm-elf-eabi-gcc not in PATH
« Reply #19 on: June 16, 2010, 07:44:08 AM »
Ok, I am not getting the arm-elf-eabi-gcc file in usr\local\bin. What am I doing wrong? Maybe I am missing some cygwin component from the initial setup of the program?

By the way, I ran rockboxdev.sh today on another PC and it has been processing for almost 5 hours now.. the arm-elf-eabi-ld file and the /usr/local/arm-elf-eabi folder were created all within the first hour. But I still don't have an arm-elf-eabi-gcc file...
« Last Edit: June 16, 2010, 07:47:58 AM by oldschool83 »
Logged

Offline marc2003

  • Member
  • *
  • Posts: 36
Re: arm-elf-eabi-gcc not in PATH
« Reply #20 on: June 16, 2010, 08:24:46 AM »
5 hours? that's just ridiculous.....

it took me around 10 minutes to install ubuntu from scratch inside a virtual machine. it then took another 10 minutes or so to run rockboxdev.sh to setup eabi...

(obviously you need to add whatever time it takes to download the 700mb ISO for ubuntu)

screenshot





Logged

Offline oldschool83

  • Member
  • *
  • Posts: 10
Re: arm-elf-eabi-gcc not in PATH
« Reply #21 on: June 16, 2010, 08:27:09 AM »
I am not a linux guy and I find cygwin okay to work with.. don't want to go any deep into VM & etc.

If this doesn't work I'll just forget it. Btw it's still compiling.. 6 hours now and still no arm-elf-eabi-gcc file
Logged

Offline marc2003

  • Member
  • *
  • Posts: 36
Re: arm-elf-eabi-gcc not in PATH
« Reply #22 on: June 16, 2010, 08:37:40 AM »
you don't have to be a linux guy. i'm certainly not. the setup wizard is like windows, you enter a few preferences, click next, next, next and let it do it's thing.

when you're on the desktop, you open a terminal and the commands are the same as you run in cygwin.
Logged

Offline oldschool83

  • Member
  • *
  • Posts: 10
Re: arm-elf-eabi-gcc not in PATH
« Reply #23 on: June 16, 2010, 12:06:00 PM »
What do you know.. it worked!

Don't know what I did, maybe selected more gcc components from the install of cygwin. It compiled for hours and finally said DONE!
Logged

Offline Jack Sparrow

  • Member
  • *
  • Posts: 9
Re: arm-elf-eabi-gcc not in PATH
« Reply #24 on: June 22, 2010, 01:50:40 PM »
I tried to compile and it says "the compiler you must use <arm-elf-eabi-gcc> is not in your path!"  I tried typing rockboxdev.sh and it brings back "rockboxdev.sh: command not found"

Do I need to do something else?  I am new to compiling, and really have no idea what I am doing.  Any help would be greatly appreciated
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8968
Re: arm-elf-eabi-gcc not in PATH
« Reply #25 on: June 22, 2010, 01:54:38 PM »
Quote from: Lar`E the Magnificent on June 22, 2010, 01:50:40 PM
I tried to compile and it says "the compiler you must use <arm-elf-eabi-gcc> is not in your path!"  I tried typing rockboxdev.sh and it brings back "rockboxdev.sh: command not found"

Do I need to do something else?  I am new to compiling, and really have no idea what I am doing.  Any help would be greatly appreciated

rockboxdev.sh is an actual program in the tools directory of your rockbox source checkout, not a generic shell command.  You have to cd to the right folder, or type the full path to it (e.g. tools/rockboxdev.sh if in the root of your source checkout).
Logged

Offline Jack Sparrow

  • Member
  • *
  • Posts: 9
Re: arm-elf-eabi-gcc not in PATH
« Reply #26 on: June 22, 2010, 03:36:19 PM »
Quote from: saratoga on June 22, 2010, 01:54:38 PM
rockboxdev.sh is an actual program in the tools directory of your rockbox source checkout, not a generic shell command.  You have to cd to the right folder, or type the full path to it (e.g. tools/rockboxdev.sh if in the root of your source checkout).

Once I cd to the right folder, then what do I do?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8968
Re: arm-elf-eabi-gcc not in PATH
« Reply #27 on: June 22, 2010, 08:09:10 PM »
Run the command.  On Ubuntu and most linux this will probably involve something like 'sudo ./rockboxdev.sh'. 
Logged

Offline Jack Sparrow

  • Member
  • *
  • Posts: 9
Re: arm-elf-eabi-gcc not in PATH
« Reply #28 on: June 23, 2010, 11:01:01 AM »
Thanks.  I've been running it for about 3 and a half hours now, and it still isn't done.  Any idea how long it should take?

...make that four hours
« Last Edit: June 23, 2010, 11:26:35 AM by Jack Sparrow »
Logged

Offline funman

  • Developer
  • Member
  • *
  • Posts: 645
Re: arm-elf-eabi-gcc not in PATH
« Reply #29 on: June 23, 2010, 12:13:06 PM »
Someone reported ten hours on cygwin.

I think it builds in 15 minutes max on linux.
Logged
a wise man said: "a wise man said"

  • Print
Pages: 1 [2] 3 4
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  arm-elf-eabi-gcc not in PATH
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.151 seconds with 21 queries.