⌊ K™¦krizzna.web.id ⌉

Sekedar coretan seorang nyubi

How can I compile & execute a C program on redhat 2.4.14-18? Does it support lex and yacc tools?

Posted on

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

Share and Enjoy:
  • printfriendly How can I compile & execute a C program on redhat 2.4.14 18? Does it support lex and yacc tools?
  • digg How can I compile & execute a C program on redhat 2.4.14 18? Does it support lex and yacc tools?
  • delicious How can I compile & execute a C program on redhat 2.4.14 18? Does it support lex and yacc tools?
  • facebook How can I compile & execute a C program on redhat 2.4.14 18? Does it support lex and yacc tools?
  • yahoobuzz How can I compile & execute a C program on redhat 2.4.14 18? Does it support lex and yacc tools?
  • twitter How can I compile & execute a C program on redhat 2.4.14 18? Does it support lex and yacc tools?
  • googlebookmark How can I compile & execute a C program on redhat 2.4.14 18? Does it support lex and yacc tools?
  • email link How can I compile & execute a C program on redhat 2.4.14 18? Does it support lex and yacc tools?
  • linkedin How can I compile & execute a C program on redhat 2.4.14 18? Does it support lex and yacc tools?
  • live How can I compile & execute a C program on redhat 2.4.14 18? Does it support lex and yacc tools?
  • myspace How can I compile & execute a C program on redhat 2.4.14 18? Does it support lex and yacc tools?
  • pdf How can I compile & execute a C program on redhat 2.4.14 18? Does it support lex and yacc tools?
  • plurk How can I compile & execute a C program on redhat 2.4.14 18? Does it support lex and yacc tools?
  • slashdot How can I compile & execute a C program on redhat 2.4.14 18? Does it support lex and yacc tools?
  • technorati How can I compile & execute a C program on redhat 2.4.14 18? Does it support lex and yacc tools?
  • tumblr How can I compile & execute a C program on redhat 2.4.14 18? Does it support lex and yacc tools?
  • hackernews How can I compile & execute a C program on redhat 2.4.14 18? Does it support lex and yacc tools?

Tags: , , , , , , ,


  • Arundhati Bakshi

    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.