gcc: error trying to exec 'cc1': execvp: No such file or directory解决方法
安装gcc之后出现了执行.c文件时出现错误添加环境变量之后即可whereis cc1找到cc1在哪里/usr/libexec/gcc/x86_64-redhat-linux/4.8.2/cc1我的centos7中cc1的位置如果找不到 用locate cc1找出后,复制/usr/libexec/gcc/x86_64-redhat-linux/4.8.2...
原创
2020-03-01 21:10:03 ·
17478 阅读 ·
6 评论