gpt4 book ai didi

gcc - 检查目标文件的后缀...配置 : error: cannot compute suffix of object files: cannot compile

转载 作者:行者123 更新时间:2023-12-04 05:54:44 28 4
gpt4 key购买 nike

在构建 ARM 工具链时,出现以下错误

checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[1]: *** [configure-target-libgcc] Error 1
make[1]: Leaving directory `<path>/gcc-4.3.2-arm-elf'
make: *** [all] Error 2

可能是什么问题?

最佳答案

你读了吗http://gcc.gnu.org/wiki/FAQ#configure_suffix ?

您是否安装了 GMP、MPFR 和 MPC?它们在您的图书馆搜索路径中吗?

http://gcc.gnu.org/wiki/InstallingGCC并确保您已遵循基本说明。 到目前为止 构建 GCC(包括作为交叉编译器)的最简单方法是遵循以下说明:

  • Alternatively, after extracting the GCC source archive, simply run the ./contrib/download_prerequisites script in the GCC source directory. That will download the support libraries and create symlinks, causing them to be built automatically as part of the GCC build process.

关于gcc - 检查目标文件的后缀...配置 : error: cannot compute suffix of object files: cannot compile,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12650493/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com