lfs/chapter05/mawk-inst.xml
Gerard Beekmans 085e37a7e5 'Beautified' the static link process
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@283 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2001-03-10 04:40:58 +00:00

24 lines
589 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>