我正在尝试在 Fedora 21 下为 ARM 构建 GCC,但 4.6.4 和 4.9.2 失败并出现相同的错误:
checking dynamic linker characteristics... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
Makefile:8200: recipe for target 'configure-zlib' failed
我遵循这个指南:http://www.kunen.org/uC/gnu_tool.html
不明白,我做错了什么?
附言配置
命令:
../../src/gcc-4.9.2/configure --target=arm-none-eabi --prefix=$MYTOOLS --enable-interwork --enable-multilib --enable-languages="c,c++" --with-newlib --with-headers=../../src/newlib-1.20.0/newlib/libc/include/
最佳答案
如果您在此系统上安装了 zlib,则可以尝试将 --with-system-zlib 添加到您正在使用的配置命令中。
关于linux - Fedora 21下ARM-GCC编译报错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29481325/