beaglebone a6设置交叉编译 - 无法执行二进制文件。错误的abi版本?

时间:2014-11-23 14:23:58

标签: eclipse cross-compiling

我正在尝试设置Eclipse来为beaglebone a6构建二进制文件。在bb我有Debian稳定喘息,在我的电脑上安装了Arch。使用gcc linaro 4.9但它不会起作用:

gdbserver :2345 /home/dragonn/bbcpp;exit
dragonn@debian:~$ echo $PWD'>'
/home/dragonn>
dragonn@debian:~$ gdbserver :2345 /home/dragonn/bbcpp;exit
Process /home/dragonn/bbcpp created; pid = 2158
Cannot exec /home/dragonn/bbcpp: No such file or directory.

Child exited with status 127
No program to debug.  GDBserver exiting.
logout

file命令显示:

root@debian:/home/dragonn# file bbcpp
bbcpp: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 3.4.104, BuildID[sha1]=0xb9518d4e4550dfa8ac66db0625ed514460bc70d7, not stripped
root@debian:/home/dragonn# file a.out 
a.out: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.26, BuildID[sha1]=0x2dc9c698a5186e4ca4ca78c9d698ff92ecabc377, not stripped

bbcpp通过Eclipse和a.out直接在bb上编译。我认为我的二进制文件的ABI版本很高?我是对的?我怎么能改变它?

0 个答案:

没有答案