兼容32位应用方法
开发板安装编译器: sudo apt install gcc-arm-linux-gnueabihf arm-linux-gnueabihf-gcc hello.c -o hello
开发板安装32位库: sudo dpkg --add-architecture armhf sudo apt update sudo apt install libc6:armhf libncurses5:armhf libstdc++6:armhf
执行hello可执行程序:
附录: hello.c源码: #include <stdio.h>
int main() { printf("Hello, World!\n"); return 0; } |
|小黑屋|
飞凌嵌入式
( 冀ICP备12004394号-1 )
GMT+8, 2025-5-10 15:51
Powered by Discuz! X3.4
© 2001-2013 Comsenz Inc.