估计编译时间: 0.26 SBU 估计所需硬盘空间: 8 MB |
命令如下:
./configure --prefix=$LFS/static --disable-nls && make LDFLAGS=-static && make install |
在 make install 阶段你将看到这个警告:
chgrp: changing group of `/mnt/lfs/static/bin/make': Operation not permitted /mnt/lfs/static/bin/make needs to be owned by group kmem and setgid; otherwise the `-l' option will probably not work. You may need special privileges to complete the installation of /mnt/lfs/static/bin/make.
你可以放心的忽略它。make 程序的正常工作并不需要属于 kmem 组和用 -l 参数来绑定组id。(这个参数是让make 在系统负荷大到一定值时不再开始新的工作) 。
最后检查于 version 3.79.1.
Autoconf: autoconf, autoheader
Automake: aclocal, automake
Bash: sh
Binutils: as, ld
Diffutils: cmp
Fileutils: chgrp, chmod, install, ls, mv, rm
Gcc: cc, cc1, collect2, cpp0, gcc
Glibc: getconf
Grep: egrep, fgrep, grep
M4: m4
Make: make
Gawk: gawk
Sed: sed
Sh-utils: basename, echo, expr, hostname, sleep, uname
Texinfo: install-info, makeinfo
Textutils: cat, tr