I have a Mac with OS X 10.6.8 Snow Leopard. I'm trying very hard to learn the basics of programming in C, but I can't get my first simple program to run. I read online to go to Xcode Preferences -> Downloads and check in there for gcc downloads, but Xcode 3.2.6 doesn't have a Downloads tab in the preferences. I've tried downloading gcc from the gcc.gnu website, but I didn't see anything specifically labeled gcc, and I still couldn't get my simple "Hello, World!" program to run in terminal.
It's very possible this is an easy solution, however I haven't been able to find anything pointing me in he right direction. It's definitely a little convoluted as a beginner, but I'm trying.
Any help would be greatly appreciated. Just a hand to get Xcode and gcc working.
gcc --version
in a terminal window to see if command line tools is installed.