aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2001-07-11 15:14:15 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2001-07-11 15:14:15 +0000
commit55c39e0ceb3aec22efdb63c717e1fb97e6c9e2bc (patch)
treef6887823bd2900b01b717fff9b9e8a99c28cb4ab
parent26ebe123c1e6967ad551e07ed954a8228625a2fe (diff)
Added gcc-patch to fix re_max_failure problems
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@785 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--Attic/appendixc/gcc-patch.xml6
-rw-r--r--chapter04/gcc-patch.xml6
-rw-r--r--chapter04/packages.xml3
-rw-r--r--chapter05/gcc-inst.xml2
4 files changed, 16 insertions, 1 deletions
diff --git a/Attic/appendixc/gcc-patch.xml b/Attic/appendixc/gcc-patch.xml
new file mode 100644
index 000000000..958da3f41
--- /dev/null
+++ b/Attic/appendixc/gcc-patch.xml
@@ -0,0 +1,6 @@
+GCC Patch (&gcc-version;):
+<ulink url="&ftp;/">
+&ftp;/</ulink>
+<ulink url="&http;/">
+&http;/</ulink>
+
diff --git a/chapter04/gcc-patch.xml b/chapter04/gcc-patch.xml
new file mode 100644
index 000000000..0999b2fe4
--- /dev/null
+++ b/chapter04/gcc-patch.xml
@@ -0,0 +1,6 @@
+GCC Patch (&gcc-version;) 0.36 KB:
+<ulink url="&ftp;/gcc-&gcc-version;.patch.bz2">
+&ftp;/gcc-&gcc-version;.patch.bz2</ulink>
+<ulink url="&http;/gcc-&gcc-version;.patch.bz2">
+&http;/gcc-&gcc-version;.patch.bz2</ulink>
+
diff --git a/chapter04/packages.xml b/chapter04/packages.xml
index c02c7252d..21e369294 100644
--- a/chapter04/packages.xml
+++ b/chapter04/packages.xml
@@ -10,6 +10,7 @@
&c3-diffutils;
&c3-fileutils;
&c3-gcc;
+&c3-gcc-patch;
&c3-kernel;
&c3-grep;
&c3-gzip;
@@ -66,7 +67,7 @@
&c3-netkitbase;
&c3-nettools;
-Total size of all packages: 80,490 KB (78.60 MB)
+Total size of all packages: 80,490.36 KB (78.60 MB)
</literallayout>
</sect1>
diff --git a/chapter05/gcc-inst.xml b/chapter05/gcc-inst.xml
index ea498ca45..d78298cc4 100644
--- a/chapter05/gcc-inst.xml
+++ b/chapter05/gcc-inst.xml
@@ -7,6 +7,8 @@ Install GCC by running the following commands:
<para>
<screen>
+<userinput>cd $LFS/usr/src/gcc-&gcc-version; &amp;&amp;</userinput>
+<userinput>patch -Np1 -i ../gcc-&gcc-version;.patch &amp;&amp;</userinput>
<userinput>mkdir $LFS/usr/src/gcc-build &amp;&amp;</userinput>
<userinput>cd $LFS/usr/src/gcc-build &amp;&amp;</userinput>
<userinput>../gcc-&gcc-version;/configure --prefix=/usr \</userinput>