Sekedar coretan seorang nyubi
Posted on May 31, 2010 by krizzna
This version says it uses vim,I am not able to figure out the commands to execute my programs.It does not accept gcc or cc
Tags: 2.4.1418, compile, execute, Program, Redhat, support, Tools, yacc
Use the ZZ command to save the file. If you do not have gcc installed, then execute:
# yum gcc lex yacc
and that should install it. Then run
$ gcc -o foo foo.c
To execute the program, type:
./foo
where foo is the name of your program and foo.c is the name of your source file.