hello.c在arm linux下運行失敗 - Linux

Table of Contents

compile的平台是linux x86

我用arm-linux-gcc hello.c -o hello

然後用usb copy到實驗版的/tmp

然後cd /tmp

然後執行./hello

結果出現 ./hello: no such file or directory

卡關卡好久了

救救我阿~~~


--

All Comments

Robert avatarRobert2010-12-03
後來arm-linux-gcc -static hello.c -o hello就行了
Zenobia avatarZenobia2010-12-08
但是我還是不懂該怎麼解決比較好?
Christine avatarChristine2010-12-08
原本缺 shared library
Elvira avatarElvira2010-12-10
建議把toolchain下的一些基本的library copy過去