| 权限没问题
 
 -rwxrwxrwx 1 root root 5029 Jan  5 06:04 test
 root@imx6qdlsolo:/home/xuser# ./test
 -sh: ./test: No such file or directory
 root@imx6qdlsolo:/home/xuser# bash test
 test: test: cannot execute binary file
 root@imx6qdlsolo:/home/xuser#
 root@imx6qdlsolo:/home/xuser#
 
 
 但是在ubuntu这一侧
 root@zit-virtual-machine:/home/zit/test# file te
 te: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0xec68d12ac6fc07199158d9c3e6d945d42ac5c282, not stripped
 root@zit-virtual-machine:/home/zit/test# file test
 test: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.31, not stripped
 root@zit-virtual-machine:/home/zit/test#
 
 te是用gcc编译的,可以在ubuntu上执行,test使用/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-linux-gcc编译的在arm上执行就是那个样子
 |