看板 LinuxDev 關於我們 聯絡資訊
Dear All, 請教各位 我按照網路上教學下載arm的toolchain以及busybox (arm-2009q3-67-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2) 最後可以順利編譯且執行busybox 之後我自己寫了一個printf的程式然後編譯 arm-none-linux-gnueabi-gcc -o hello.out -Wall main.c 沒想到在板子執行後卻發生 shell@android:/mnt/sdcard/Download/test # ./hello.out sh: ./hello.out: No such file or directory 可以請教是甚麼原因嗎? 是否有少flag?感謝! -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 114.32.231.88 ※ 文章網址: http://www.ptt.cc/bbs/LinuxDev/M.1399544677.A.63B.html
goldie:檔案缺乏可執行權限,chmod a+x hello.out 05/08 18:54
enthos:arm-none-linux-gnueabi-gcc -static -o hello.out main.c 05/08 20:26