天天看点

制作交叉工具链

----------------------------------------------------------------------------------------------------

计划:

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目录下运行

上一篇: go工具链