如何交叉编译ARM的libcollections?

时间:2016-05-13 03:04:38

标签: c gcc arm embedded cross-compiling

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

1 个答案:

答案 0 :(得分:1)

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

根据解决方案here,您应该确保为ARM安装了适当的binutils版本。