linaro如何安装ARM toolchain

linaro  时间:2021-06-22  阅读:()

如何安装ARM toolchain

我们有两个选择,第一是直接在 Raspberry Pi 上编译。

第二是先在我们的个人电脑用 Raspberry Pi 的 toolchain 编译完成後,再上传到 Pi。

  这里简介如何在个人电脑安装 Raspberry Pi 的 toolchain,以在 ubuntu 上安装 -linaro-arm-linux-gnueabihf-raspbian 为例。

  1. 在个人电脑安装必要的套件。

  sosorry@ubuntu:~$ sudo apt-get install make git-core ncurses-dev   2. 下载最新版的 toolchain。

  sosorry@ubuntu:~$ mkdir rpi   sosorry$ubuntu:~$ cd rpi   sosorry@ubuntu:~/rpi$ git clone /raspberrypi/tools.git   remote: Reusing existing pack: 17273, done.   remote: Total 17273 (delta 0), reused 0 (delta 0)   Receiving objects: 100% (17273/17273), 311.52 MiB | 343 KiB/s, done.   Resolving deltas: 100% (11698/11698), done.   Checking out files: 100% (15860/15860), done.   3. 安装 toolchain。

安装方法是将 -linaro-arm-linux-gnueabihf-raspbian 加到环境变数里。

  sosorry@ubuntu:~/rpi$ vi ~/.bashrc   export PATH=$PATH:/home/sosorry/rpi/tools/arm-bcm2708/-linaro-arm-linux-gnueabihf-raspbian/bin # add this line at the end of file   4. 测试。

先开启一个新的终端机,输入 arm 後连续按两次 tab 键,如果跑出来一堆像下面的提示表示安装成功。

  arm-linux-gnueabihf-addr2line arm-linux-gnueabihf-gfortran arm-linux-gnueabihf-objdump   arm-linux-gnueabihf-ar -4.7.2 arm-linux-gnueabihf-gprof arm-linux-gnueabihf-pkg-config   arm-linux-gnueabihf-as -ar arm-linux-gnueabihf-ld arm-linux-gnueabihf-pkg-config-real   arm-linux-gnueabihf-c++ -nm arm-linux-gnueabihf-ld.bfd arm-linux-gnueabihf-ranlib   arm-linux-gnueabihf-c++filt -ranlib arm-linux-gnueabihf-ldd arm-linux-gnueabihf-readelf   arm-linux-gnueabihf-cpp arm-linux-gnueabihf-gcov arm-linux-gnueabihf-ld.gold arm-linux-gnueabihf-size   arm-linux-gnueabihf-elfedit arm-linux-gnueabihf-gdb arm-linux-gnueabihf-nm arm-linux-gnueabihf-strings   arm-linux-gnueabihf-g++ arm-linux-gnueabihf-gdbtui arm-linux-gnueabihf-objcopy arm-linux-gnueabihf-strip

轻云互联(19元)香港高防云服务器 ,美国云服务器

轻云互联成立于2018年的国人商家,广州轻云互联网络科技有限公司旗下品牌,主要从事VPS、虚拟主机等云计算产品业务,适合建站、新手上车的值得选择,香港三网直连(电信CN2GIA联通移动CN2直连);美国圣何塞(回程三网CN2GIA)线路,所有产品均采用KVM虚拟技术架构,高效售后保障,稳定多年,高性能可用,网络优质,为您的业务保驾护航。活动规则:用户购买任意全区域云服务器月付以上享受免费更换IP服...

轻云互联,香港云服务器折后22元/月 美国云服务器 1核 512M内存 15M带宽 折后19.36元/月

轻云互联成立于2018年的国人商家,广州轻云互联网络科技有限公司旗下品牌,主要从事VPS、虚拟主机等云计算产品业务,适合建站、新手上车的值得选择,香港三网直连(电信CN2GIA联通移动CN2直连);美国圣何塞(回程三网CN2GIA)线路,所有产品均采用KVM虚拟技术架构,高效售后保障,稳定多年,高性能可用,网络优质,为您的业务保驾护航。官方网站:点击进入广州轻云网络科技有限公司活动规则:1.用户购...

老用户专享福利 腾讯云 免费领取轻量云2核4G服务器一年

感恩一年有你!免费领取2核4G套餐!2核4G轻量应用服务器2核 CPU 4GB内存 60G SSD云硬盘 6Mbps带宽领取地址:https://cloud.tencent.com/act/pro/lighthousethankyou活动规则活动时间2021年9月23日 ~ 2021年10月23日活动对象腾讯云官网已注册且完成实名认证的国内站用户(协作者与子用户账号除外),且符合以下活动条件:账号...

linaro为你推荐
订房系统酒店PMS系统具体是什么4k超高清视频下载为新手推荐几个获取4K片源的途径oledbdatareader根据输入信息读取数据库中的数据,总是在执行OleDbDataReader reader = cmd.ExecuteReader()时通不过,比思论坛永久域名不知道为什么 比思论坛的网站打不开 怎么办呐微信如何只发文字微信朋友圈怎样只发文字云输入法QQ云输入法怎样进行中英文切换?云输入法如何使用QQ云输入法?音乐代码css控制背景音乐代码cursorlocation如何用ENVI把不同图像中的相同地点的某个像素点的值读出来。按时间把这个点的值连起来,。谢谢好人。怎样删除聊天记录怎么批量清除微信聊天记录
域名注册使用godaddy 域名解析服务器 bbr 搬瓦工官网 12306抢票助手 河南服务器 福建天翼加速 柚子舍官网 域名评估 免费吧 最好的qq空间 t云 丽萨 监控服务器 电信网络测速器 工信部网站备案查询 深圳域名 主机返佣 windowsserver2012 建站行业 更多