学 点 新 知--做 点 事 情分享 http://blog.sciencenet.cn/u/dabing 平时多记点,东西就多了...

博文

安装Xcode及Xcode Command Line Tools

已有 16197 次阅读 2015-11-17 22:46 |个人分类:玩转电脑|系统分类:科研笔记| command, line, XCode

--安装Xcode------------------------------------------------------------

检测是否安装好Xcode

$ xcode-select -p

显示这样说明安装好

/Applications/Xcode.app/Contents/Developer

如果没有装好,安装方法:

Xcode不同版本可以在以下网页下载,需要登陆apple帐户:

https://developer.apple.com/downloads/


Mac OS X 10.9.4 下载的Xcode 6.2版本

-----------------------------------------------------------------------------


--安装Xcode Command Line Tools---

1.调出安装窗口

$ xcode-select --install

2.点击 Install 安装

Click “Install” to download and install Xcode Command Line Tools.

3.查看安装的gcc版本

$ gcc --versionConfigured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)Target: x86_64-apple-darwin14.0.0

Thread model: posix


ABR:~ abREN$ xcode-select -p

/Applications/Xcode.app/Contents/Developer


 -h, --help                  print this help message and exit

 -p, --print-path            print the path of the active developer directory

 -s <path>, --switch <path>  set the path for the active developer directory

 -v, --version               print the xcode-select version

 -r, --reset                 reset to the default command line tools path




参考地址:http://railsapps.github.io/xcode-command-line-tools.html 

                                                                           2015-11-17 15:47 @Brussels, Belgium  



https://blog.sciencenet.cn/blog-287062-936117.html

上一篇:[MIDAS] Correction of bad columns
下一篇:Mac安装pgplot
收藏 IP: 193.190.231.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-25 22:09

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部