View Single Post

Member Since: Dec 09, 2009
Location: The same as Sheldon Cooper - East Texas
Posts: 413
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