mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-31 11:21:59 +00:00
c91dd5bfd0
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3248 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
38 lines
998 B
XML
38 lines
998 B
XML
<sect1 id="ch-tools-patch">
|
|
<title>Installing Patch-&patch-version;</title>
|
|
<?dbhtml filename="patch.html" dir="chapter05"?>
|
|
|
|
<screen>&buildtime; &patch-time-tools;
|
|
&diskspace; &patch-compsize-tools;</screen>
|
|
|
|
&aa-patch-down;
|
|
&aa-patch-dep;
|
|
|
|
<sect2><title> </title><para> </para></sect2>
|
|
|
|
<sect2>
|
|
<title>Installation of Patch</title>
|
|
|
|
<para>Prepare Patch for compilation (the preprocessor flag
|
|
<emphasis>-D_GNU_SOURCE</emphasis> is only needed on the PowerPC platform, on
|
|
other architectures you can leave it out):</para>
|
|
|
|
<screen><userinput>CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/tools</userinput></screen>
|
|
|
|
<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> </title><para> </para>
|
|
<para>The details on this package are found in <xref linkend="contents-patch"/>.</para>
|
|
<para> </para></sect2>
|
|
|
|
</sect1>
|
|
|