【问题标题】:How to cross compile libcollections for ARM?如何交叉编译 ARM 的 libcollections?
【发布时间】:2016-05-13 03:04:37
【问题描述】:

我正在尝试为 ARM 架构交叉编译 libcollections 库。运行命令./configure --host=arm-none-linux-gnueabi 后失败,错误为configure: error: C compiler cannot create executables

在config.log文件里面,我发现这是as: unrecognized option '-meabi=5'造成的。

这条线是什么意思,我该如何解决这个问题?

该库位于此处:https://bitbucket.org/manvscode/libcollections

【问题讨论】:

标签: c gcc arm embedded cross-compiling


【解决方案1】:

-meabi=5 是一个ARM specific GNU assembler command line option,用于指定要使用的 EABI 版本,其中有效值为 4、5 和 gnu。

您应确保已按照解决方案 here 安装了适用于 ARM 的适当构建的 binutils。

【讨论】:

  • 原来我的ARM编译器安装不完整。谢谢。
猜你喜欢
  • 2013-03-09
  • 1970-01-01
  • 1970-01-01
  • 2014-06-13
  • 1970-01-01
  • 2016-05-26
  • 2013-01-19
  • 2021-02-17
  • 2016-03-25
相关资源
最近更新 更多