lfs/chapter05/mawk-inst.xml
2001-04-16 02:04:19 +00:00

22 lines
587 B
XML

<sect2>
<title>Installation of Mawk</title>
<para>
Install Mawk by running the following commands:
</para>
<blockquote><literallayout>
<userinput>./configure &amp;&amp;</userinput>
<userinput>sed \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;s/"\$(CC) \$(CFLAGS) -o"/"\$(CC)
\$(CFLAGS) \$(LDFLAGS) -o"/ \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;Makefile | make
-f - LDFLAGS=-static &amp;&amp;</userinput>
<userinput>make BINDIR=$LFS/usr/bin \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;MANDIR=$LFS/usr/share/man/man1
install</userinput>
</literallayout></blockquote>
</sect2>