久久ER99热精品一区二区-久久精品99国产精品日本-久久精品免费一区二区三区-久久综合九色综合欧美狠狠

新聞中心

EEPW首頁 > 嵌入式系統 > 設計應用 > 安裝配置arm-linux-gcc

安裝配置arm-linux-gcc

作者: 時間:2016-11-21 來源:網絡 收藏
下載arm-linux-gcc并解壓,把里面的arm文件夾整個cp到/usr/local/

本文引用地址:http://cqxgywz.com/article/201611/319136.htm

然后是注冊環境

一般是修改profile

1:對于ubuntu中profile是調用/etc/bash.bashrc來運行的

在/etc/bash.bashrc后加上

if [ -d /usr/local/arm ] ; then

PATH=/usr/local/arm/2.95.3/bin:"${PATH}"

fi

2:在Federal下可以vi /etc/profile;在出現pathmunge 的語句段后添加pathmunge /usr/local/arm/2.1.3(版本號)/bin;

然后source /etc/profile更新一下就可以用arm-linux-gcc進行編譯了

測試 :

# arm-linux-gcc -v

工具已經安裝成功了就會出現相應的版本號!

否則會提示

bash: arm-linux-gcc: command not found



評論


相關推薦

技術專區

關閉