View Single Post

cptkrf's Avatar
Member Since: Dec 08, 2009
Location: The same as Sheldon Cooper - East Texas
Posts: 453
cptkrf is a jewel in the roughcptkrf is a jewel in the rough
Mac Specs: iMac 2014 i5 5k 32gb 1tb fusion, second TB display, 2014 MBA

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