1、安装Ubuntu18.04虚拟机,并开启root登录
2、gcc环境搭建
从官方提供的网盘资料OK3568-C_Forlinx Desktop 20.04_用户资料_R3(更新日期:20231201),解码\Linux\源码\OK3568-linux-source,在prebuilts文件夹将gcc拷贝到虚拟机(Ubuntu18.04)的/usr/local目录下
设置环境变量,修改/etc/profile,在文件最后添加export PATH=/usr/local/gcc/linux-x86/aarch/gcc-linaro-6.3.1-2017.05-x86_64_aarch54-linux-gnu-bin:$PATH
标签:gcc,RK3568,虚拟机,飞凌,usr,Qt5.9,linux,PATH From: https://www.cnblogs.com/zhangnianyong/p/18086586