分类: LINUX
2008-04-13 23:41:53
1.下载文件
在下载以下四个文件
blackfin-toolchain-07r1-9.i386.rpm
blackfin-toolchain-gcc-3.4-addon-07r1-9.i386.rpm
blackfin-toolchain-elf-gcc-4.1-07r1-9.i386.rpm
blackfin-toolchain-elf-gcc-3.4-addon-07r1-9.i386.rpm
2.安装
1. rpm –Uvh blackfin-toolchain-07r1-9.i386.rpm
rpm –Uvh blackfin-toolchain-gcc-3.4-addon-07r1-9.i386.rpm
rpm –Uvh blackfin-toolchain-elf-gcc-4.1-07r1-9.i386.rpm
rpm –Uvh blackfin-toolchain-elf-gcc-3.4-addon-07r1-9.i386.rpm
2.运行
export PATH=$PATH:/opt/uClinux/bfin-uclinux/bin:/opt/uClinux/bfin-linux-uclibc/bin
或者把给当前用户的.bashrc文件中增加export PATH=$PATH:/opt/uClinux/bfin-uclinux/bin:/opt/uClinux/bfin-linux-uclibc/bin