I used PATH = /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/:$PATH
But still my programs refuse to search in the given dir first. Do I need to do something else?
I used PATH = /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/:$PATH
But still my programs refuse to search in the given dir first. Do I need to do something else?
Use:
export PATH=.....
to make the PATH variable available as an environment variable to programs started from shell. Make sure that your programs are started from the same shell in which you are exporting the PATH variable. Please note that there is no space before and after=
.In your case, use:
Add it to
~/.profile
for permanent (~
is your $HOME).