diff options
Diffstat (limited to 'chapter05')
-rw-r--r-- | chapter05/gcc-pass2.xml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml index ec9354e18..ce24a3867 100644 --- a/chapter05/gcc-pass2.xml +++ b/chapter05/gcc-pass2.xml @@ -58,11 +58,9 @@ <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 fram 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 ;; |