Skip navigation

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

986 Views 8 Replies Latest reply: Jan 5, 2013 7:49 PM by Frank Caggiano RSS
doddavaram Level 1 Level 1 (0 points)
Currently Being Moderated
Dec 25, 2012 12:06 PM


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)


More Like This

  • Retrieving data ...

Bookmarked By (0)


  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.