Reputation: 5797
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!
Upvotes: 2
Views: 2276
Reputation: 1
Install homebrew from here
then in zsh type
brew install gcc
then,
gcc --version
and you're good to go.
Upvotes: 0
Reputation: 71
You'll find the tools at the usual place, for example /usr/bin/make.
See also post on superuser.com
Upvotes: 2
Reputation: 121
Unfortunately justing updating the path (which I found not in any /Developer but actually in /Applications/Xcode.app) doesn't solve other issues like missing manpages. Apple has released a new developer download for command line developer tools. Either go directly to Apple's developer page, for find a little more info and the link here.
Upvotes: 0
Reputation: 423
You can access the App Store and download XCode. It's free. It will give you llvm (compiler), make and related tools.
Upvotes: 0