Path Variable
Hi All
Iam installing crunch accelerated floating point support to a softfloat version of GCC-3.4.3 But iam facing problem as iam typing command make install Iam getting error Code:
please set PATH variable to point to your softfloat version of GCC-3.4.3 ! The PATH is as wrrttien in README.TXT Code:
export PATH=/home/tools/arm/crunch/ep93xx-d1/bin:$PATH |
You can just type (or paste!) those commands into the shell where you are giving the make command. If you are going to be doing this a lot and don't want to keep entering it, you can add it to your ~/.bash_profile file and it will be set everytime you log in. (The tilde (~) just means the file is in your home directory.)
|
Hi again
I edited .bash_profile file and wrote those export command but still no change giving same message to set path. |
This is my .bash_profile file
Code:
# .bash_profile |
When you make a change to your shell environment (.bashrc, .bash_profile), the change doesn't take effect until you do something, such as
a) reload the environment with the command: source .bashrc, or, source .bash_profile b) logout and login c) restart the X server (ctrl+alt+backspace) d)reboot (usually not necessary). |
please type this in your terminal window
PATH=$PATH:/home/tools/arm/crunch/ep93xx-d1/bin since you are only "installing" the compiler, you don't need to have it in your PATH settings permanently |
Simply typing or pasting those commands in the shell you are running make from is sufficient for a one time shot. I gave instructions for adding it to ~/.bash_profile file only if (for some reason) you plan on doing this a lot. In that case after modifying your .bash_profile file, you should log off and back on. But again, that is only a labor saving option if you find yourself repeatedly executing these commands.
|
All times are GMT -5. The time now is 09:36 PM. |