首页 > 代码库 > Linux,crosstool-ng 1.20.0 install,Ubuntu 14.04 LTS
Linux,crosstool-ng 1.20.0 install,Ubuntu 14.04 LTS
xnus@xnus-P43E:/opt/crosstool-ng-1.20.0$ mkdir ./crosstool-ng-1.20.0_build
xnus@xnus-P43E:/opt/crosstool-ng-1.20.0$ mkdir ./crosstool-ng-1.20.0_install
xnus@xnus-P43E:/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/
xnus@xnus-P43E:/opt/crosstool-ng-1.20.0/crosstool-ng-1.20.0_build$ mv crosstool.config .config
xnus@xnus-P43E:/opt/crosstool-ng-1.20.0$ ./configure --prefix=/opt/crosstool-ng-1.20.0/crosstool-ng-1.20.0_install
xnus@xnus-P43E:/opt/crosstool-ng-1.20.0$ make
xnus@xnus-P43E:/opt/crosstool-ng-1.20.0$ make install
xnus@xnus-P43E:/opt/crosstool-ng-1.20.0$ echo "PATH=$PATH:/opt/crosstool-ng-1.20.0/crosstool-ng-1.20.0_install/bin" >> ~/.bashrc
xnus@xnus-P43E:/opt/crosstool-ng-1.20.0$ source ~/.bashrc
xnus@xnus-P43E:/opt/crosstool-ng-1.20.0$ ct-ng help
xnus@xnus-P43E:/opt/crosstool-ng-1.20.0/crosstool-ng-1.20.0_build$ ct-ng menuconfig
xnus@xnus-P43E:/opt/crosstool-ng-1.20.0/crosstool-ng-1.20.0_build$ ct-ng build
Linux,crosstool-ng 1.20.0 install,Ubuntu 14.04 LTS