Estimated build time: 0.10 SBU Estimated required disk space: 3 MB |
Last checked against version 2.5.4.
The patch program modifies a file according to a patch file. A patch file usually is a list, created by the diff program, that contains instructions on how an original file needs to be modified.
Patch installs the following:
patch
Last checked against version 2.5.4.
Bash: sh
Binutils: as, ld
Diffutils: cmp
Fileutils: chmod, install, mv, rm
Gcc: cc, cc1, collect2, cpp0, gcc
Glibc: getconf
Grep: egrep, grep
Make: make
Sed: sed
Sh-utils: echo, expr, hostname, uname
Textutils: cat, tr
Prepare Patch to be compiled:
CPPFLAGS=-D_GNU_SOURCE \ LDFLAGS="-static" ./configure --prefix=$LFS/static |
The meaning of the configure option is:
CPPFLAGS=-D_GNU_SOURCE: This flag fixes installation problems of this package on PPC and m68k platforms (that we know of). It doesn't hurt compilation on other platforms, such as x86, so we do it by default.
Continue with compiling the package:
make |
And finish off installing the package:
make install |