I am trying to add the path to the compiler to the $PATH variable. To do this I add the line
$ export PATH="$PATH:actualpathhere"
~/.bash_profile file. Now when I open another terminal and try to build my code it doesnt work. If I do
echo $PATH in the new terminal it doesnt show the correct path. I am confused as to why this is happening. I use a Mac (Snow leopard) and the terminal uses bash.