一個困擾我一天的問題了,希望能有大神指點一下
本人小白
x6818 arm 開發版 燒了linux的作業系統應該是32位的:
[root@X6818:~]# uname -a
Linux X6818 3.4.39-9tripod #9 SMP PREEMPT Thu Jul 20 14:16:45 CST 2017 armv7l GNU/Linux
我交叉編譯了一個簡單的helloworld程式,只用到了printf, 放到開發板上執行就顯示:
[root@X6818:~]# ./test
Killed
[root@X6818:~]# file test
test: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, not stripped
我去看了一下板子里能正常啟動的程式是這樣的:
[root@X6818:~]# file /usr/share/demo/qttest
/usr/share/demo/qttest: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.3, for GNU/Linux 3.4.5, BuildID[sha1]=83daaecc89b4f1bc587ecb7915350473540d2488, not stripped
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/279732.html
標籤:驅動開發/核心開發