|
发表于 2021-5-31 14:08:00
浏览:8769
|
回复:2
打印
只看该作者
[复制链接]
楼主
Hi,各位老大哥们有没有遇到交叉编译后无法执行的问题,
Android 源码运行:
/Firefly-RK3399_Android8.1_git_SDK_20180901/prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin# ./aarch64-linux-gnu-gcc a.c -o aarch64
板子终端运行:
rk3399_firefly_mid:/sdcard # ./aarch64
sh: ./aarch64: can't execute: Permission denied
是编译工具链没对上号吗,看了下应该是没有错的,请了解交叉编译的仁兄帮忙check一下是哪里不对,,感谢
1|rk3399_firefly_mid:/ # cat /proc/version
Linux version 4.4.126 (root@a) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05) ) #1 SMP PREEMPT Sat May 29 02:21:10 EDT 2021
|
|