View Single Post
cptkrf

 
Member Since: Dec 08, 2009
Location: The same as Sheldon Cooper - East Texas
Posts: 402
cptkrf is a jewel in the roughcptkrf is a jewel in the rough
Mac Specs: MacBook Air 2013, MacMini,2013, Intel Core i7, 16gb, 27" Thunderbolt display (Highly recommended!)

cptkrf is offline
You can drop to a terminal and just compile the c/cpp source with GCC just as if you were on a plain Unix or Linux machine.

In fact, if you are making c/cpp programs you don't need Xcode at all, just download the Command Line Utilities and use textedit for the source. (Note. if you are making gui obj-c stuff, you have to have Xcode.)

The simplest compile will be with the gcc command and the source file name. i.e. gcc helloworld.c

man gcc will give you the manual for the options.
QUOTE Thanks