Rockbox Development > Starting Development and Compiling

arm-elf-gcc path...

(1/2) > >>

Jon_:
hello i would like to know how would i go about editing the path to get rid of the arm error at the beginning of compiling.

Would i have to open the profile file from the etc folder in notepad and edit an area inside?

bluebrother:
unless you reveal a bit more of information -- especially what system are you using, cygwin, vmware or something else? answering that question isn't easy.

If you are on cygwin you need to edit /etc/profile with an editor different to notepad. Notepad can't handle the line endings correctly.

GodEater:
I still don't recommend changing the path in the /etc/profile file.

This is a core file that's part of the cygwin distribution. Any changes you make to this file will be lost the next time you upgrade cygwin.

It's far preferably to create a .profile file in your home directory, and add the PATH statement in that.

dandin1:
http://www.rockbox.org/twiki/bin/view/Main/CygwinDevelopment#Step_4_Add_the_cross_compiler_di

Or perhaps you havn't installed the ARM C compiler?  Then you just need to scroll up in that very same link.

TMBordelon:
I initially had the same after a fresh Cygwin install.  You need to edit your (home directory specified during install)/.bash_profile file.

Add the following line anywhere within:

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

Todd

Navigation

[0] Message Index

[#] Next page

Go to full version