aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gcc-pass1-inst.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2003-05-07 23:51:03 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2003-05-07 23:51:03 +0000
commit0939e573f2e323188bb6da5c9afde087f49a24f1 (patch)
treecd8b1d054b7eef895229bdac11c4420d1f469cb7 /chapter05/gcc-pass1-inst.xml
parent98ced7fdd1995f4611b9518987e3f7cbaa051d10 (diff)
note not to remove tcl directory
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2540 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/gcc-pass1-inst.xml')
-rw-r--r--chapter05/gcc-pass1-inst.xml7
1 files changed, 3 insertions, 4 deletions
diff --git a/chapter05/gcc-pass1-inst.xml b/chapter05/gcc-pass1-inst.xml
index 8987c0cb8..2cf5349ad 100644
--- a/chapter05/gcc-pass1-inst.xml
+++ b/chapter05/gcc-pass1-inst.xml
@@ -13,9 +13,7 @@ default optimizations, such as CFLAGS and CXXFLAGS, we recommend unsetting
or modifying them when building GCC.</para>
<para><screen><userinput>patch -Np1 -i ../gcc-&gcc-version;-mmap_test.patch
-patch -Np1 -i ../gcc-&gcc-version;-no_fixincludes.patch
-patch -Np1 -i ../gcc-&gcc-version;-libstdc++_no_debug.patch
-patch -Np1 -i ../gcc-&gcc-version;-libgcc_no_debug.patch</userinput></screen></para>
+patch -Np1 -i ../gcc-&gcc-version;-no_fixincludes.patch</userinput></screen></para>
<para>It is recommended by the GCC installation documentation to build
GCC outside of the source directory in a dedicated directory:</para>
@@ -28,7 +26,8 @@ cd ../gcc-build</userinput></screen></para>
<para><screen><userinput>CFLAGS="-O2 -pipe" \
&nbsp;&nbsp;&nbsp;&nbsp;../gcc-&gcc-version;/configure --prefix=/stage1 \
&nbsp;&nbsp;&nbsp;&nbsp;--with-local-prefix=/stage1 \
-&nbsp;&nbsp;&nbsp;&nbsp;--disable-nls --enable-shared </userinput></screen></para>
+&nbsp;&nbsp;&nbsp;&nbsp;--disable-nls --enable-shared \
+&nbsp;&nbsp;&nbsp;&nbsp;--enable-languages=c</userinput></screen></para>
<para>The meaning of the configure options are:</para>