For the last couple of hours, I have been trying to find and install a gcc compiler so that I can compile C programs using eclipse C/C++ IDE. Eclipse doesn't come with a compiler, so I tried to find one but I haven't found a way to get one. I looked up Xcode in the App Store and I heard from some sites that it can compile C programs. Can it compile C programs? Is it better than Eclipse? If not, does anyone know where I can find a gcc compiler for my Mac? I'm running Mac OS X Lion.
This is the version of Eclipse I am running: http://www.eclipse.org/downloads/packages/eclipse-ide-cc-developers-includes-incubating-components/indigosr2