【问题标题】:ARM-GCC build error under Fedora 21Fedora 21 下的 ARM-GCC 构建错误
【发布时间】:2015-06-11 10:39:25
【问题描述】:

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

不明白,我做错了什么?

附: configure 命令:

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

【问题讨论】:

    标签: linux gcc raspberry-pi arm fedora-21


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 2015-07-20
      • 1970-01-01
      • 2015-08-24
      • 1970-01-01
      • 1970-01-01
      • 2016-02-05
      • 1970-01-01
      • 2015-03-31
      • 2016-11-03
      相关资源
      最近更新 更多