{ ./configure ... && make && make install; }.
现在为编译 Binutils 作准备:
../binutils-2.20/configure \ --target=$LFS_TGT --prefix=/tools \ --disable-nls --disable-werror
配置选项的含义:
-
因为
LFS_TGT
变量中的机器描述和 config.guess 脚本的返回值略有不同, 所以, 这个开关会告诉 configure 脚本,为了创建交叉链接器,要调整Binutil 的编译系统。 -
这个参数告诉 configure 脚本,准备把 Binutils 软件包中的程序安装到
/tools
目录中。 -
这个参数禁止了国际化(通常简称i18n --译者),因为临时工具不需要i18n特性。
-
在有从宿主编译器发出的警告时,这个参数防止了编译程序停止。
--target=$LFS_TGT
--prefix=/tools
--disable-nls
--disable-werror