diff options
Diffstat (limited to 'chapter05/gcc-pass1-inst.xml')
-rw-r--r-- | chapter05/gcc-pass1-inst.xml | 7 |
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" \ ../gcc-&gcc-version;/configure --prefix=/stage1 \ --with-local-prefix=/stage1 \ - --disable-nls --enable-shared </userinput></screen></para> + --disable-nls --enable-shared \ + --enable-languages=c</userinput></screen></para> <para>The meaning of the configure options are:</para> |