Which version of Xcode do you have, -the latest? This might be part of the problem? http://stackoverflow.com/questions/11654702/osx-10-8-xcode-4... Seems like the latest version isn't going to give you gcc (where previous versions did) Edit 1: Go to Xcode>preferences>downloads and there should be an option to download 'Command Line Tools' I have no idea if this is the answer, but if you're running the latest version of Xcode I think you may have to do this. Edit 2:
So I was not getting /usr/bin/gcc returned in the command line with the latest version of Xcode on Mountain Lion. I performed the step above and it worked. That string is now returned.Is the gcc C compiler installed? Run Terminal from your Applications/Utilities folder and type which gcc to find out.
If /usr/bin/gcc isn't returned, you will need to...