lfs/chapter05/patch.xml
Alex Gronenwoud 5888299528 Moving stuff from appendix A to chapter 6.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3161 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2004-01-12 23:23:50 +00:00

39 lines
1.0 KiB
XML

<sect1 id="ch05-patch">
<title>Installing Patch-&patch-version;</title>
<?dbhtml filename="patch.html" dir="chapter05"?>
<screen>Estimated build time: &patch-time-tools;
Estimated required disk space: &patch-compsize-tools;</screen>
&aa-patch-down;
&aa-patch-dep;
<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
<sect2>
<title>Installation of Patch</title>
<para>Prepare Patch for compilation:</para>
<screen><userinput>CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/tools</userinput></screen>
<para>The preprocessor flag <userinput>-D_GNU_SOURCE</userinput> is only needed
on the PowerPC platform. On other architectures you can leave it out.</para>
<para>Compile the program:</para>
<screen><userinput>make</userinput></screen>
<para>Then install it and its documentation:</para>
<screen><userinput>make install</userinput></screen>
</sect2>
<sect2><title>&nbsp;</title><para>&nbsp;</para>
<para>The details on this package are found in <xref linkend="contents-patch"/>.</para>
<para>&nbsp;</para></sect2>
</sect1>