$ mkdir ~/croosstool-ng
$ cd ~/croosstool-ng
$ tar -jxf crosstool-ng-1.9.0.tar.bz2
$ cd crosstool-ng-1.9.0
$ patch -p1 < 000-libc_eglibc_fix_downloading.patch
$ ./configure --prefix=/opt/crosstool-ng
$ make
$ sudo make install
$ echo "PATH=$PATH:/opt/crosstool-ng/bin" >> ~/.bashrc
$ source ~/.bashrc
=================================
mkdir build_toolchain
mkdir ~/src
ct-ng arm-unknown-linux-gnueabi
ct-ng menuconfig
沒有留言:
張貼留言