Nov 6, 2006

在ubuntu上建立arm toolchain

arm-linux-tools

YUANFENG光碟裡面的YUANFENG.tar.gz解開之後,裡面有cross-2.95.3.tar.bz2....

就是arm-linux-toos
$ sudo mkdir /usr/local/arm

$ sudo mv cross-2.95.3.tar.bz2 /usr/local/arm

$ sudo tar jxvf /usr/local/arm/cross-2.95.3.tar.bz2

$ sudo echo "export PATH=$PATH:/usr/local/arm/2.95.3/bin" >> ~/.bashrc

$ sudo echo "export PATH=$PATH:/usr/local/arm/2.95.3/bin" >> /etc/profile

$ sudo echo "export$ PATH=$PATH:/usr/local/arm/2.95.3/bin" >> /etc/bashrc



arm-elf-tools

可以到uClinux網站下載,也可以到Linux 2.6 for MMU-less ARM (這裡的版本比較新)

下載後直接執行script就ok了

0 comments:

Post a Comment