michile

导航

2013年2月20日

linux 交叉编译出现的问题

摘要: 描述一下我的问题吧:在宿主机上交叉编译出来一个很简单的程序hello.c :arm-none-linux-gnueabi-gcc hello.c -o hello把hello 放到我的pandaboard 上不能运行 ./hello 出来的效果是./hello is no a directory 很无语啊然后我在宿主机上面开始静态编译arm-none-linux-gnueabi-gcc hello.c -static -o hello编出来一个很大的hello 程序,放到pandaboard上面居然能够跑起来同样我又在我的pandaboard上面用这个ubuntu 上面的gcc 自己编译一个h 阅读全文

posted @ 2013-02-20 09:56 michile 阅读(300) 评论(0) 推荐(0) 编辑