Author Topic: Compiling C code from command prompt  (Read 2496 times)

shadowonder

  • Guest
Compiling C code from command prompt
« on: July 21, 2009, 08:41:10 am »
Is it possible to compile C files from the command prompt. The only software I have installed related to C is codeblocks and I figure they have a compiler I could use. Do I need to set up any environmental variables?

Thank you.

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Compiling C code from command prompt
« Reply #1 on: July 21, 2009, 11:34:36 am »
Yes, and yes. The compiler coming with Code::Blocks is MinGW, refer to their site for further information.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."