mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-20 22:17:39 +00:00
085e37a7e5
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@283 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
24 lines
589 B
XML
24 lines
589 B
XML
<sect2>
|
|
<title>Installation of Mawk</title>
|
|
|
|
<para>
|
|
Install Mawk by running the following commands:
|
|
</para>
|
|
|
|
<blockquote><literallayout>
|
|
|
|
<userinput>./configure &&</userinput>
|
|
<userinput>sed \</userinput>
|
|
<userinput> s/"\$(CC) \$(CFLAGS) -o"/"\$(CC)
|
|
\$(CFLAGS) \$(LDFLAGS) -o"/ \</userinput>
|
|
<userinput> Makefile | make
|
|
-f - LDFLAGS=-static &&</userinput>
|
|
<userinput>make BINDIR=$LFS/usr/bin \</userinput>
|
|
<userinput> MANDIR=$LFS/usr/share/man/man1
|
|
install</userinput>
|
|
|
|
</literallayout></blockquote>
|
|
|
|
</sect2>
|
|
|