Home > OS >  Development board to run an executable program Killed
Development board to run an executable program Killed

Time:04-26

A question bothers me one day, hope to have a great god gives directions
My small white
X6818 arm development version burned Linux operating system should be a 32-bit:
/root @ X6818: ~ # uname -a
Linux X6818 3.4.39-9 tripod # 9 SMP PREEMPT Thu Jul 20 14:16:45 CST 2017 armv7l GNU/Linux


I cross compile a simple helloworld program, only to the printf, on development board to perform shows:
/root @ X6818: ~ #./test
Killed
/root @ X6818: ~ # file test
Test: the ELF 32 - bit LSB executable that ARM, EABI5 version 1 (SYSV), statically linked, not stripped


I went to look at the board can normal boot program is like this:
/root @ X6818: ~ # file/usr/share/demo/qttest
The/usr/share/demo/qttest: ELF 32 - bit LSB executable that ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter/lib/ld - Linux. So. 3, for the GNU/Linux 3.4.5, BuildID [sha1]=83 daaecc89b4f1bc587ecb7915350473540d2488, not stripped

CodePudding user response:

Make sure your compiler is no problem, then make sure your code if you have any questions

CodePudding user response:

Thank you, the problem has been solved, cross-compilation download is wrong, what I use is applied to compile the bare plate arm - none - eabi
Switch to the arm - Linux - gnueabi can run
  • Related