Rockbox Development > Starting Development and Compiling
Cant install rockboxdev.sh
Bagder:
--- Quote ---Very last line says Make your PATH include :/usr/local/arm-elf/bin, what do I do with it, where does it go?
--- End quote ---
It depends on your system setup, but most users use bash on Debian and then you edit your PATH variable (which tells the shell in what directories to look for executables) in the $HOME/.bashrc file for future invokes of shells.
You can also set the PATH in your current shell with
--- Code: ---export PATH=$PATH:/usr/local/arm-elf/bin
--- End code ---
iPodFoo:
Ok. Opened the bashrc file in XP in notepad and the only line I could see on there related to PATH is:
--- Quote ---export PATH=/usr/local/sh/bin:/usr/local/m68k/bin:/usr/local/arm/bin:$PATH
--- End quote ---
Do I replace this whole line?
I also tried typing in Debian export PATH=$PATH:/usr/local/arm-elf/bin but it didnt seem to do anything. Just returned to the prompt. I checked the file to see if it had been added but it wasnt.
Sorry if Im being a simpleton. ::)
saratoga:
I don't know much about linux, but I believe typing export just changes the path in your current session, so it won't be in the basrc which (i think) is a startup script that runs everytime you boot.
You could try typing "which gcc-arm-elf" or whatever it is you're adding to the path to see if its working.
MoD:
just exchange:
--- Code: ---export PATH=/usr/local/sh/bin:/usr/local/m68k/bin:/usr/local/arm/bin:$PATH
--- End code ---
with:
--- Code: ---export PATH=/usr/local/sh/bin:/usr/local/m68k/bin:/usr/local/arm/bin:/usr/local/arm-elf/bin:$PATH
--- End code ---
in $HOME/.bashrc
iPodFoo:
Excellente. Have made changes. Will do proper test tommorrow as Im in the middle of doing some fonts in fontforge in debian.
One last question. Is there a tutorial in using the cross-compiler or is it used transparently?
Thanks everyone for your help. Much appreciated.
Navigation
[0] Message Index
[*] Previous page
Go to full version