Mac安装Command Line Tools
2024-09-29 11:21:48
从App Store上下载的Xcode,默认是不会安装Command Line Tools的,Command Line Tools是在Xcode中的一款工具,可以在命令行中运行C程序。
在终端中输入命令
xcode-select --install
会弹出提示框
选择同意协议
安装中
安装完成后,在终端中执行gcc -v命令查看是否安装成功。
如果显示如下内容,则按照成功。
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.
Apple LLVM version 8.1. (clang-802.0.)
Target: x86_64-apple-darwin16.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
最新文章
- 更新过程 renewal process
- centos7 最小化安装没有ifconfig及修改网卡名enoxxx为ethX
- SharePoint Error - An unrecognized HTTP response was received when attempting to crawl this item
- 5.1---二进制数插入(CC150)
- php面试题之五——PHP综合应用(高级部分)
- java获取本机IP地址
- 数据库笔记--常见sql操作
- [原]打造Python开发环境之初篇
- 使用JSP处理用户注册和登陆
- 【Mysql学习笔记】浅析mysql的binlog
- 实战weblogic集群之创建domain,AdminServer
- python 学习源码练习(2)——简单文件读取
- Spring邮件发送1
- c#基础小练习
- Ubuntu使用命令行打印文件
- linux 学习笔记 groupadd创建组
- Android Studio 3.1 正式版
- iframe 通信问题
- OpenSL的代码编写
- Oracle EBS 数据访问权限集