linux - Fedora 21下ARM-GCC编译报错

标签 linux gcc raspberry-pi arm fedora-21

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

相关文章:

linux - 使用 Linux 使用我的自定义库 (.h) 编译我的 C 程序

python - 树莓派 : issue communicating via I2C

crash - Raspberry Pi关闭会破坏文件系统

linux - 为什么有人会使用 echo 为 bash 或 ksh 中的变量赋值?

linux - 使用 curl 我添加了标题 "HTTP_X_REAL_IP",在服务器端它变成了 "HTTP_HTTP_X_REAL_IP"

linux - 有多操作系统蓝牙库吗?

c - 修复 ms 编译器 c 代码以在 gcc 中编译

linux - 为什么进程的PID用opaque数据类型表示?

C 十六进制常量类型

python - python的符号链接(symbolic link)重要吗?