diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2003-05-07 23:51:03 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2003-05-07 23:51:03 +0000 |
commit | 0939e573f2e323188bb6da5c9afde087f49a24f1 (patch) | |
tree | cd8b1d054b7eef895229bdac11c4420d1f469cb7 /chapter05 | |
parent | 98ced7fdd1995f4611b9518987e3f7cbaa051d10 (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')
-rw-r--r-- | chapter05/gcc-pass1-inst.xml | 7 | ||||
-rw-r--r-- | chapter05/gcc-pass2-inst.xml | 7 |
2 files changed, 6 insertions, 8 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> diff --git a/chapter05/gcc-pass2-inst.xml b/chapter05/gcc-pass2-inst.xml index 57f775303..1ae4e3728 100644 --- a/chapter05/gcc-pass2-inst.xml +++ b/chapter05/gcc-pass2-inst.xml @@ -5,9 +5,7 @@ <para><screen><userinput>patch -Np1 -i ../gcc-&gcc-version;-specs-2.patch 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><screen><userinput>mkdir ../gcc-build cd ../gcc-build</userinput></screen></para> @@ -16,7 +14,8 @@ cd ../gcc-build</userinput></screen></para> ../gcc-&gcc-version;/configure --prefix=/stage1 \ --with-local-prefix=/stage1 \ --enable-clocale=gnu --enable-shared \ - --enable-threads=posix --enable-__cxa_atexit + --enable-threads=posix --enable-__cxa_atexit \ + --enable-languages=c,c++ make LDFLAGS="-s" make -k check make install</userinput></screen></para> |