LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Need help with gcc installation (https://www.linuxquestions.org/questions/linux-software-2/need-help-with-gcc-installation-98071/)

BajaNick 09-28-2003 10:38 PM

Need help with gcc installation
 
I just downloaded gcc-3.3.1 and when i run ./configure i get this:

./configure: line 8: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

what should i do first?

thanks.......

doralsoral 09-28-2003 10:52 PM

I think you might have to install the old gcc from your discs if you have it. I dont know which distro you have but on red hat you go to system settings i htink and then add/remove application and then go into developement tools and check the gcc box. if you dont have red hat then maybe there is a similar way. if you do and you did it the ./configure command should work. im not real sure about it though but thats how i installed my compiler. hope this helps

BajaNick 10-04-2003 04:49 PM

What is cc ? do you mean gcc?


All times are GMT -5. The time now is 09:49 PM.