码迷,mamicode.com
首页 > 系统相关 > 详细

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

时间:2015-08-03 18:48:22      阅读:1557      评论:0      收藏:0      [点我收藏+]

标签:

 

打开终端输入: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

 

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

标签:

原文地址:http://www.cnblogs.com/Cheetah-yang/p/4699671.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!