Installation and environment set for gcc
can anyone tell me how to set environment for gcc also how to install it
thanks |
Use a package manager to install gcc (something like yum or apt or yast) and it will set everything correctly. Setting an environment variable is actually done on a shell or within a script, like:
export MY_VAR="param" and can be displayed by echo $MY_VAR Add it to your .profile or .bashrc or whatever startup script is read by your distro. I never had the need to set any environment params for gcc when installed properly. Only LD_LIBRARY_PATH needs to be set locally sometimes in some cases. |
thank you
but i need more expalanation on this i m bigneer to redhat. |
Code:
s# which gcc if not Code:
$ apt-get install gcc What environmental variable do you want to set? Can you provide further explanation of what you need to accomplish with the variable? |
Quote:
For editting .bashrc just type nano ~/.bashrc |
thank you all, i appreciate all of your help.
|
All times are GMT -5. The time now is 11:14 PM. |