2

我正在尝试在 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

无法理解,我做错了什么?

PSconfigure命令:

../../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/
4

1 回答 1

1

如果您在此系统上安装了 zlib,您可以尝试将 --with-system-zlib 添加到您正在使用的配置命令中。

于 2015-04-07T18:07:22.017 回答