LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   executing c programs (https://www.linuxquestions.org/questions/linux-newbie-8/executing-c-programs-900820/)

Muralinadh 09-03-2011 01:51 AM

executing c programs
 
i have installed redhat linux 6.0 in my core2duo desktop. i have a problem now..
the c programs which are written in vim editor is not executing..
the error message gcc is not found..
please tell me a solution for this problem..

jdkaye 09-03-2011 01:55 AM

Hi and welcome to LQ!
It probably means that you haven't installed a c-compiler (gcc) so you should do that. I assume you want to compile c source code and not execute a binary compiled from c source code.
ciao
jdk

chrism01 09-04-2011 07:21 PM

Try
Code:

yum groupinstall 'Development Tools'
If not found, try
Code:

yum grouplist
http://linux.die.net/man/8/yum

fpmurphy 09-04-2011 07:44 PM

You should also install the development libraries.


All times are GMT -5. The time now is 11:57 PM.