[email protected]:/opt/crosstool-ng-1.20.0$ mkdir ./crosstool-ng-1.20.0_build
[email protected]:/opt/crosstool-ng-1.20.0$ mkdir ./crosstool-ng-1.20.0_install
[email protected]:/opt/crosstool-ng-1.20.0/samples/arm-unknown-linux-gnueabi$ cp -Rf ./* /opt/crosstool-ng-1.20.0/crosstool-ng-1.20.0_build/
[email protected]:/opt/crosstool-ng-1.20.0/crosstool-ng-1.20.0_build$ mv crosstool.config .config
[email protected]:/opt/crosstool-ng-1.20.0$ ./configure --prefix=/opt/crosstool-ng-1.20.0/crosstool-ng-1.20.0_install
[email protected]:/opt/crosstool-ng-1.20.0$ make
[email protected]:/opt/crosstool-ng-1.20.0$ make install
[email protected]:/opt/crosstool-ng-1.20.0$ echo "PATH=$PATH:/opt/crosstool-ng-1.20.0/crosstool-ng-1.20.0_install/bin" >> ~/.bashrc
[email protected]:/opt/crosstool-ng-1.20.0$ source ~/.bashrc
[email protected]:/opt/crosstool-ng-1.20.0$ ct-ng help
[email protected]:/opt/crosstool-ng-1.20.0/crosstool-ng-1.20.0_build$ ct-ng menuconfig
[email protected]:/opt/crosstool-ng-1.20.0/crosstool-ng-1.20.0_build$ ct-ng build