ubuntu下安装交叉编译器
(1)安装方法一
打开ubuntu终端
使用sudo apt list gcc-arm*可以查看所有的交叉编译器,假设安装gcc-arm-linux-gnueabihf,则使用sudo apt-get install gcc-arm-linux-gnueabihf就装好了。
参考网址:https://blog.youkuaiyun.com/qq_877667836/article/details/83588915
(2) 安装方法二
1.查看有哪些版本可以安装
apt-cache search aarch64
参考网址:https://blog.youkuaiyun.com/song_lee/article/details/105487177