source: chapter05/patch.xml@ 38c56ea

Last change on this file since 38c56ea was fad7667, checked in by Archaic <archaic@…>, 19 years ago

Updated all chapter 5 build sizes.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@5916 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 1.7 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 <!ENTITY % patches-entities SYSTEM "../patches.ent">
5 %general-entities;
6 %patches-entities;
7]>
8<sect1 id="ch-tools-patch" role="wrap">
9<title>Patch-&patch-version;</title>
10<?dbhtml filename="patch.html"?>
11
12<indexterm zone="ch-tools-patch">
13<primary sortas="a-Patch">Patch</primary>
14<secondary>tools</secondary></indexterm>
15
16<sect2 role="package"><title/>
17<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/patch.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
18
19<segmentedlist>
20<segtitle>&buildtime;</segtitle>
21<segtitle>&diskspace;</segtitle>
22<seglistitem><seg>0.1 SBU</seg><seg>1.5 MB</seg></seglistitem>
23</segmentedlist>
24
25<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/patch.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
26
27</sect2>
28
29<sect2 role="installation">
30<title>Installation of Patch</title>
31
32<para>Prepare Patch for compilation:</para>
33
34<screen><userinput>CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/tools</userinput></screen>
35
36<para>The preprocessor flag <parameter>-D_GNU_SOURCE</parameter> is
37only needed on the PowerPC platform. It can be left out on other
38architectures.</para>
39
40<para>Compile the package:</para>
41
42<screen><userinput>make</userinput></screen>
43
44<para>This package does not come with a test suite.</para>
45
46<para>Install the package:</para>
47
48<screen><userinput>make install</userinput></screen>
49
50</sect2>
51
52<sect2 role="content"><title/>
53<para>Details on this package are located in <xref
54linkend="contents-patch" role="."/></para>
55</sect2>
56
57</sect1>
58
Note: See TracBrowser for help on using the repository browser.