Ubuntu10.04下的armlinuxgcc配置

Ubuntu10.04下的arm-linux-gcc配置

首先下载包arm-linux-gcc包:http://www.arm9.net/download-arm-linux-gcc-4.3.2.asp 
然后配置:
进入到   /usr/local/   把arm-linux-gcc复制过来,解压,把里面的 arm 文件夹复制到这个文件夹。
也可以用命令行:  tar xvzf arm-linux-gcc-4.3.2.tgz –C /

qwan@swd-qwan-desktop:~$ vi .bashrc

设置路径:

# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
    . /etc/bash_completion
fi


export PATH=/usr/local/arm/4.3.2/bin:$PATH

source .bashrc

原文地址:https://www.cnblogs.com/wanqieddy/p/2086025.html