每当我尝试编译 c/cpp 文件时,它都会出现此错误:
gcc: fatal error: cannot execute ‘as’: execvp: No such file or directory
compilation terminated.
我也尝试在编译时包含文件的完整路径,但发生了同样的错误。 为了确定版本不匹配,我同时查找了 gcc 和 g++ 版本,但两者都相同, gcc/g++ 版本:9.1.0。
我该如何解决这个问题?
最佳答案
as
命令来自 binutils
。你有没有安装这个包?
关于c - fatal error : cannot execute 'as' : execvp: no such file or directory,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56801179/