/usr/local
mkdir arm
将文件file1复制成文件file2
cp file1 file2
/cp /mnt/hgfs/UbuntuGX/arm-2008q3-linux.tar.gz /usr/local/arm
/tar zxvf arm-linux-gcc-4.3.2.tgz
vi /etc/profile
export PATH=/usr/sbin/:/bin:/usr/bin:/sbin:/usr/local/arm/arm-2008q3-linux/bin
export PATH=$PATH:/usr/local/arm/arm-2008q3-linux/bin
source /etc/profile //修改后立即生效
cd /usr/local/arm/arm-2008q3-linux/bin
arm-none-linux-gnueabi-gcc -v