diff options
author | DJ Lucas <dj@linuxfromscratch.org> | 2014-06-14 19:51:45 +0000 |
---|---|---|
committer | DJ Lucas <dj@linuxfromscratch.org> | 2014-06-14 19:51:45 +0000 |
commit | 61ce0b1fe4ffbf86ef3189e733f9f372cac419aa (patch) | |
tree | 4d470e322c309bbd743befe34f84f06d4c95b040 /chapter05/gcc-pass2.xml | |
parent | 6f34f438e62ee95fd8b9025984ecc0a0bafd1f32 (diff) |
Synchronized with LFS-SVN-20140611.
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10576 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/gcc-pass2.xml')
-rw-r--r-- | chapter05/gcc-pass2.xml | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml index ec9354e18..85cc1aff9 100644 --- a/chapter05/gcc-pass2.xml +++ b/chapter05/gcc-pass2.xml @@ -57,17 +57,15 @@ <screen><userinput remap="pre">cat gcc/limitx.h gcc/glimits.h gcc/limity.h > \ `dirname $($LFS_TGT-gcc -print-libgcc-file-name)`/include-fixed/limits.h</userinput></screen> - - <para>For x86 machines, a bootstrap build of GCC uses the - <option>-fomit-frame-pointer</option> compiler flag. Non-bootstrap builds - omit this flag by default, and the goal should be to produce a compiler - that is exactly the same as if it were bootstrapped. Apply the following - <command>sed</command> command to force the build to use the flag:</para> +<!-- + <para>For x86 machines, the limited number of registers is a bottleneck + for the system. Free one up by not using a frame pointer that is not + needed:</para> <screen><userinput remap="pre">case `uname -m` in i?86) sed -i 's/^T_CFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in ;; esac</userinput></screen> - +--> <para>Once again, change the location of GCC's default dynamic linker to use the one installed in <filename class="directory">/tools</filename>.</para> @@ -123,9 +121,7 @@ RANLIB=$LFS_TGT-ranlib \ --disable-libstdcxx-pch \ --disable-multilib \ --disable-bootstrap \ - --disable-libgomp \ - --with-mpfr-include=$(pwd)/../gcc-&gcc-version;/mpfr/src \ - --with-mpfr-lib=$(pwd)/mpfr/src/.libs</userinput></screen> + --disable-libgomp</userinput></screen> <variablelist> <title>The meaning of the new configure options:</title> |