cmacosgccmakefileosx-lion

How do I get GCC on OS X Lion?


I recently bought a new Mac and did a time machine restore of my old mac & updated the xCode version to the latest version. After the move I have lost the ability to use Make and GCC; saying these commands are unavailable. I use Make and GCC to develop for homework assignments for classes that I later SCP up to a Linux box at school then run from there.

How do I get GCC and Make for Mac OS Lion? I've seen some articles on how to install via source via compiling but they automatically assume you have GCC installed, which I do not.

Please help!


Solution

  • gcc should be in /Developer/usr/bin/. Check there.