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
本文转自wanqi博客园博客,原文链接:http://www.cnblogs.com/wanqieddy/archive/2011/06/21/2086025.html如需转载请自行联系原作者