首页 > 其他分享 >Mac安装gcc

Mac安装gcc

时间:2023-04-15 12:03:09浏览次数:59  
标签:gcc xcode Mac cleanup brew 安装

先安装brew:
https://blog.csdn.net/weixin_38716347/article/details/123838344
安装xcode:
xcode-select --install
安装gcc:
brew install gcc
检测gcc版本:
gcc -v
其他命令:
清理brew:brew cleanup
brew cleanup gcc
重新安装gcc: brew reinstall gcc

标签:gcc,xcode,Mac,cleanup,brew,安装
From: https://www.cnblogs.com/mySummer/p/17320819.html

相关文章