Estimated build time: 1 minute Estimated required disk space: 2 MB
Install Mawk by running the following commands:
./configure && make CC="gcc -static" && make BINDIR=$LFS/usr/bin \ ���MANDIR=$LFS/usr/share/man/man1 install
make CC="gcc -static" This is used to build mawk statically.
The Mawk package contains the mawk program.
Mawk is an interpreter for the AWK Programming Language. The AWK language is useful for manipulation of data files, text retrieval and processing, and for prototyping and experimenting with algorithms.
Mawk-1.3.3 needs the following to be installed:
chmod from the fileutils package
cp from the fileutils package
ln from the fileutils package
rm from the fileutils package
as from the binutils package
ld from the binutils package
cmp from the diffutils package
cc from the gcc package
egrep from the grep package
grep from the grep package
make from the make package
sed from the sed package
tee from the sh-utils package
cat from the textutils package
tr from the textutils package