mac装xcode4.3后没有gcc等工具的解决办法

最近需要用到gcc,make等工具,一般在安装xcode后就应该有了,但是装了xcode4.3后却没有。

网上搜索了下:
Apple announced Xcode 4.3 for OSX Lion and 4.4 for OSX Mountain Lion last week. The major difference is that Xcode no longer provide an installer which is good thing because you now could update Xcode with AppStore in the future, plus it is much easier to carry the development environment with you. However, there is a little problem with this new version of Xcode, is that all command line toolsets and compilers are not visible in terminal.

真够悲催的。。。解决的方法:
xcode Preferences > Downloads > Command Line Tools > Install

| 0个评论