I just upgraded to Mountain Lion, and now gcc
, make
, g++
, etc. are not found
when trying to launch them in Terminal.
So I went to Xcode Preferences, Downloads, and clicked "Install" next to Command Line Tools.
It asked me for my Apple ID, which is weird and unnecessary, but I entered it anyway. Note that I am a registered Mac OS X and iOS developer (so I pay 2x $99 per year).
Much to my surprise, it tells me:
Um, what?! And why is it asking?
xcode-select --print-path
does it show the correct location for your Xcode?/Applications/Xcode.app/Contents/Developer
as expected. The command line tools actually seem to be in/Applications/Xcode.app/Contents/Developer/usr/bin
, can I just add that to my path? If so, why does Xcode say the Command Line Tools are an additional 115.1 MB?