----------------------------------------------------------------------------------------------------
計劃:
1.先建構crosstool-ng
2.建構buildroot,用crosstool-ng的工具鍊
相關:
The MPFR library is a C library for multiple-precision floating-point computations with correct rounding
MPFR is based on the GMP multiple-precision library.
筆記:
crosstool-NG aims at building toolchains.
buildroot whose main purpose is to build complete root file systems, hence the name.
編譯:
下載下傳:crosstool-ng-1.9.3.tar.bz2 http://crosstool-ng.org/download/crosstool-ng/ ,解壓。
./configure --prefix=/root/crosstool-ng/crosstool-ng-1.9.3-install
make;make install
mkdir crosstool-ng-1.9.3_build
cd crosstool-ng-1.9.3_build
cp ../crosstool-ng-1.9.3-install/lib/ct-ng-1.9.3/samples/arm-unknown-linux-gnueabi/crosstool.config .config
ct-ng menuconfig //一定要在上面建立的crosstool-ng-1.9.3_build目錄下運作