source: chapter05/tar.xml@ 93a5a04

Last change on this file since 93a5a04 was 10fd9eb, checked in by Matthew Burgess <matthew@…>, 19 years ago

Added patch necessary for chapter 5's Tar to compile with GCC-4.x

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/gcc4/BOOK@6530 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-tar" role="wrap">
9<title>Tar-&tar-version;</title>
10<?dbhtml filename="tar.html"?>
11
12<indexterm zone="ch-tools-tar">
13<primary sortas="a-Tar">Tar</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/tar.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
18
19<segmentedlist>
20<segtitle>&buildtime;</segtitle>
21<segtitle>&diskspace;</segtitle>
22<seglistitem><seg>0.2 SBU</seg><seg>12.7 MB</seg></seglistitem>
23</segmentedlist>
24
25<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/tar.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
26
27</sect2>
28
29<sect2 role="installation">
30<title>Installation of Tar</title>
31
32<para>Apply a patch to Tar to enable it to compile with GCC-&gcc-version;:</para>
33
34<screen><userinput>patch -Np1 -i ../&tar-gcc4_fix-patch;</userinput></screen>
35
36<para>Prepare Tar for compilation:</para>
37
38<screen><userinput>./configure --prefix=/tools</userinput></screen>
39
40<para>Compile the package:</para>
41
42<screen><userinput>make</userinput></screen>
43
44<para>To test the results, issue: <userinput>make
45check</userinput>.</para>
46
47<para>Install the package:</para>
48
49<screen><userinput>make install</userinput></screen>
50
51</sect2>
52
53<sect2 role="content"><title/>
54<para>Details on this package are located in <xref
55linkend="contents-tar" role="."/></para>
56</sect2>
57
58</sect1>
59
Note: See TracBrowser for help on using the repository browser.