Hi , i am new to the forum , so please dont be hard on me
after a problem i had in my imac and i used the installation dvd of the snow leopard system , when i tried to use gcc , or g++ in the command line of terminal
the same thing with g++
i am not an expert of terminal but here is the thing !!!
I can use gcc or g++ in xcode or in netbeans but not in the terminal command line !!!
if i go to usr/bin/ i can see with the ls command g++ and gcc , so the path may be corrupted !!!
1)Is there a way to unistall gcc and g++ and then reinstall them ?
2) should i unistall xcode and eveything and reinstall them ?
3) keep in mind that because i am in university i really need at least one of both running to do my c++ tasks !!!
thanks in advance !!!!
after a problem i had in my imac and i used the installation dvd of the snow leopard system , when i tried to use gcc , or g++ in the command line of terminal
Code:
$ gcc -o factorial.c
-bash: gcc: command not found
the same thing with g++
i am not an expert of terminal but here is the thing !!!
I can use gcc or g++ in xcode or in netbeans but not in the terminal command line !!!
if i go to usr/bin/ i can see with the ls command g++ and gcc , so the path may be corrupted !!!
1)Is there a way to unistall gcc and g++ and then reinstall them ?
2) should i unistall xcode and eveything and reinstall them ?
3) keep in mind that because i am in university i really need at least one of both running to do my c++ tasks !!!
thanks in advance !!!!