Installing Mawk-1.3.3

Estimated build time:           1 minute
Estimated required disk space:  2 MB

Installation of Mawk

Install Mawk by running the following commands:

./configure &&
make CC="gcc -static" &&
make BINDIR=$LFS/usr/bin \
   MANDIR=$LFS/usr/share/man/man1 install

Command explanations

make CC="gcc -static" This is used to build mawk statically.

Contents

The Mawk package contains the mawk program.

Description

mawk

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.

Dependencies

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