aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gcc.xml
diff options
context:
space:
mode:
authorJim Gifford <jim@linuxfromscratch.org>2005-05-23 20:07:49 +0000
committerJim Gifford <jim@linuxfromscratch.org>2005-05-23 20:07:49 +0000
commit3e36a78621937b7ba17d4ab83abff97f84325ef8 (patch)
tree0a4e6d36c492da4517dfc4e6a48640f0fff6aa5a /chapter06/gcc.xml
parentcf629b7d308b8a7ba42debfc8483bf950a821fd2 (diff)
Changed patches to use entities
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@5402 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/gcc.xml')
-rw-r--r--chapter06/gcc.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml
index c0426ef38..5afbc04ec 100644
--- a/chapter06/gcc.xml
+++ b/chapter06/gcc.xml
@@ -1,7 +1,9 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
+ <!ENTITY % patches-entities SYSTEM "../patches.ent">
%general-entities;
+ %patches-entities;
]>
<sect1 id="ch-system-gcc" role="wrap">
<title>GCC-&gcc-version;</title>
@@ -42,13 +44,13 @@ into the same directory. Likewise, extract the gcc-testsuite tarball.</para>
<para>Apply only the No-Fixincludes patch (not the Specs patch) also
used in the previous chapter:</para>
-<screen><userinput>patch -Np1 -i ../gcc-&gcc-version;-no_fixincludes-1.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../&gcc-no_fixincludes-patch;</userinput></screen>
<para>GCC fails to compile some packages outside of a base Linux From Scratch
install (e.g., Mozilla and kdegraphics) when used in conjunction with newer
versions of Binutils. Apply the following patch to fix this issue:</para>
-<screen><userinput>patch -Np1 -i ../gcc-&gcc-version;-linkonce-1.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../&gcc-linkonce-patch;</userinput></screen>
<para>Apply a sed substitution that will suppress the installation of
<filename class="libraryfile">libiberty.a</filename>. The version of