Firefly开源社区

标题: 交叉编译的程序在开发板Ubuntu系统无法执行 [打印本页]

作者: maurice    时间: 2016-1-21 10:57
标题: 交叉编译的程序在开发板Ubuntu系统无法执行
我主机的开发环境是Ubuntu14.04 Desktop 64位虚拟机,我是在其上编译在firefly_Rk3288上运行的Ubuntu 的boot.img 和制作linux_rootfs.img。
现在我仍然是在Ubuntu14.04 Desktop 64位虚拟机写应用程序,使用arm-2014.05-29-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2交叉工具链编译应用程序,编译出的应用程序放到firefly_Rk3288的Ubuntu系统运行,提示如下:
root@firefly:/home/ubuntu/share# ./net_video_app
-bash: ./net_video_app: No such file or directory

我该使用什么样的交叉工具链才能正常运行呢?
是不是firefly_Rk3288上跑的Ubuntu系统也是64位的啊?
作者: maurice    时间: 2016-1-21 15:23
问题解决了,参考这篇文章:http://blog.csdn.net/dlutxie/article/details/8645051
下载了gcc-linaro-arm-linux-gnueabihf-4.8-2013.06_linux.tar.xz
这样就可以执行了。
作者: andywong    时间: 2016-2-26 17:42
你是用这个版本的就解决了吗?我也在弄这个。
作者: lihp1603    时间: 2016-5-31 11:13
mask 一下,交叉编译工具的事情,目前要用




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1