Rockbox Development > Starting Development and Compiling

arm-elf-gcc

(1/6) > >>

mschneider:
When i try to compile my normal build i am presented with WARNING: arm-elf-gcc is not in your path. When i try to compile i get a bunch of "Dr. Watson" errors. Are these linked to that or am i doing something wrong? or should i just continue?

I have re-installed and added the compiler to the path.

saratoga:
If you added it to your path, type "which arm-elf-gcc" to make sure its actually in the path variable correctly.

Also, dr.watson errors usually mean a windows program crashed I think.  So you're having cygwin crash on you when you try and make?  that doesn't sound right at all.

mschneider:
No cygwin doesnt crash. And i actually get a zip file (make zip). Everything seems to be working...

tdtooke:
On the wiki simple guide to compiling it explains how to put it in your path.  Basically you can either modify your bash profile or edit your path in your environment variables to add that.

Mikerman:
This worked for me in an equivalent circumstance, where the m68k file could not be found:

Edit the .bash_profile file in your home directory (cygwin\home\[your name]\.bash_profile), to include the path line at top,

PATH=/opt/m68k/bin:${PATH}

Use Notepad++ or a similar code editor to edit the file (seemingly NOT Windows WordPad or NotePad, which add in line endings).  Notepad++ is freely available (for free) on the web.

Presumably, here for you, you would add the path line to the .bash_profile file,

PATH=/opt/arm/bin:${PATH}

As it was explained in a thread here, the path line change can be added into a different file, as noted in the Rockbox Cygwin install instructions, but that file would get overwritten with a new Cygwin version install; the solution here, recommended in the forums, is said to avoid that issue.

I hope this helps.

Navigation

[0] Message Index

[#] Next page

Go to full version