MAC OS 如何安装命令行工具:Command Line Tools

打开终端输入:xcode-select --install 回车

安装好了测试结果:gcc -v

显示如下:

xcode-select: note: install requested for command line developer tools

apple-1tekiiMac:~ apple-1$ gcc -v

Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1

Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)

Target: x86_64-apple-darwin14.3.0

Thread model: posix

上一篇:固定宽高的div,内部有竖向滚动条,滚动到底部加载更多数据(分页加载)


下一篇:android自学 app天气预报系统