I cannot compile "C" source file on Mac OS X(10.8.2)

Hi,

I am trying to compile the C source filein terminal, using "cc" or "gcc" command. No luck.

Later on, tried to ran the command, xcrun cc filename.c, the compiler gave an error about header files.

iMac, OS X Mountain Lion (10.8.2)

Posted on Dec 25, 2012 12:06 PM

Reply
8 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

I cannot compile "C" source file on Mac OS X(10.8.2)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.