gxhh 发表于 2011-11-22 21:25:33

【求助】helloword运行出错-/bin/sh: ./Helloword: not found

本帖最后由 gxhh 于 2011-11-22 21:32 编辑

说明书光盘里给的helloword
./ Helloword -qws &运行之后
-/bin/sh: ./Helloword: not found

+ Done(127)                  ./helloword -qws

landroot 发表于 2011-11-22 22:43:33

jsyjzz 发表于 2011-11-23 10:55:09

nuoman 发表于 2011-11-23 10:55:15

gxhh 发表于 2011-11-23 16:35:20

本帖最后由 gxhh 于 2011-11-23 16:44 编辑

后面那个&去掉
jsyjzz 发表于 2011-11-23 10:55 http://bbs.witech.com.cn/images/common/back.gif

去掉运行结果也是一样的

./Hellowor -qws
sh: ./Hellowor: not found

liyankun 发表于 2011-11-23 22:12:15

lics32 发表于 2011-11-24 10:53:31

l721368 发表于 2011-12-24 11:18:19

编译时加上静态链接试一试
arm-linux-gcc static hello.c -o hello

1120101875 发表于 2012-3-17 21:33:36

wanyanlingl 发表于 2012-4-24 11:20:10

wanyanlingl 发表于 2012-4-24 15:27:26

飞凌-chongzi 发表于 2012-4-24 17:00:15

http://bbs.witech.com.cn/thread-14498-1-1.html
参考一下这个帖子的代码
页: [1]
查看完整版本: 【求助】helloword运行出错-/bin/sh: ./Helloword: not found