aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2002-09-29 00:07:32 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2002-09-29 00:07:32 +0000
commitab46b4e6a8619913903ffd85af84ffaf4e367590 (patch)
treeabd8a8856af6525225ef00db758125447528f5a4 /chapter05
parent0d1de9459fdd63c618bdb6936b0024b577ed7746 (diff)
added man patch to replace sed, and added gcc-3.2-nofixincludes.patch
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2142 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/gcc-exp.xml3
-rw-r--r--chapter05/gcc-inst.xml1
2 files changed, 4 insertions, 0 deletions
diff --git a/chapter05/gcc-exp.xml b/chapter05/gcc-exp.xml
index 6a95c53f3..c64f22f6c 100644
--- a/chapter05/gcc-exp.xml
+++ b/chapter05/gcc-exp.xml
@@ -6,6 +6,9 @@ This patch fixes a few bugs. In particular it contains the "copy fix" and
"var fix" documented at
<ulink url="http://www.zipworld.com.au/~gschafer/lfs-tweaks.html"/>.</para>
+<para><userinput>patch -Np1 -i ../gcc-&gcc-version;-nofixincludes.patch:</userinput>
+This patch prevents the fixincludes script from running.</para>
+
<para><userinput>--prefix=/static:</userinput> This is NOT a typo. GCC hard
codes some paths while compiling and so we need to pass /static as the
prefix during ./configure. We pass the real install prefix during the
diff --git a/chapter05/gcc-inst.xml b/chapter05/gcc-inst.xml
index 63565f160..36662b95d 100644
--- a/chapter05/gcc-inst.xml
+++ b/chapter05/gcc-inst.xml
@@ -15,6 +15,7 @@ been warned.</para>
<para>Install GCC by running the following commands:</para>
<para><screen><userinput>patch -Np1 -i ../gcc-&gcc-patch-version;.patch &amp;&amp;
+patch -Np1 -i ../gcc-&gcc-version;-nofixincludes.patch &amp;&amp;
mkdir ../gcc-build &amp;&amp;
cd ../gcc-build &amp;&amp;
../gcc-&gcc-version;/configure --prefix=/static --enable-languages=c \