QUOTE(andresgriego @ Feb 15 2006, 04:24 PM)
1. I would like to concatenate, onto the end of the PATH variable, the path to my gcc executable, which is /mnt/cf/.zgcc/bin/. This way I can call GCC from any location.
2. The tutorial author says I should add to my .bashrc the line : "/home/zaurus/./zgcc.sh" to have it setup environment variables whenever I startup bash. Where is this .bashrc file?
Firstly, are you sure you have bash? What rom are you using? If it _is_ bash, then yes, putting those lines in the .bashrc will work. But variables are more appropriately set in the .profile, which is sourced by (almost) any shell.
Secondly, is your zgcc.sh a shell script? If so, is the line to invoke it precisely
There's a big difference. Only the second form would properly set variables in your current environment.