您的位置:首页 > 其它

提示CC和GCC未找到命令的解决方法

2019-05-30 21:08 169 查看

现象:
Use which C compiler? [cc]
./trygcc:行10: cc: 未找到命令
Uh-oh, the C compiler ‘cc’ doesn’t seem to be working.
./trygcc:行25: gcc: 未找到命令
./checkcc:行10: cc: 未找到命令
Uh-oh, the C compiler ‘cc’ doesn’t seem to be working.
You need to find a working C compiler.
Either (purchase and) install the C compiler supplied by your OS vendor,
or for a free C compiler try http://gcc.gnu.org/

解决方法:
yum install gcc
yum install gcc-c++

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐