Changeset 61ce0b1 for chapter05/gcc-pass2.xml
- Timestamp:
- 06/14/2014 07:51:45 PM (10 years ago)
- Branches:
- 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
- Children:
- c09761a
- Parents:
- 6f34f43
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/gcc-pass2.xml
r6f34f43 r61ce0b1 58 58 <screen><userinput remap="pre">cat gcc/limitx.h gcc/glimits.h gcc/limity.h > \ 59 59 `dirname $($LFS_TGT-gcc -print-libgcc-file-name)`/include-fixed/limits.h</userinput></screen> 60 61 <para>For x86 machines, a bootstrap build of GCC uses the 62 <option>-fomit-frame-pointer</option> compiler flag. Non-bootstrap builds 63 omit this flag by default, and the goal should be to produce a compiler 64 that is exactly the same as if it were bootstrapped. Apply the following 65 <command>sed</command> command to force the build to use the flag:</para> 60 <!-- 61 <para>For x86 machines, the limited number of registers is a bottleneck 62 for the system. Free one up by not using a frame pointer that is not 63 needed:</para> 66 64 67 65 <screen><userinput remap="pre">case `uname -m` in 68 66 i?86) sed -i 's/^T_CFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in ;; 69 67 esac</userinput></screen> 70 68 --> 71 69 <para>Once again, change the location of GCC's default dynamic linker to 72 70 use the one installed in <filename … … 124 122 --disable-multilib \ 125 123 --disable-bootstrap \ 126 --disable-libgomp \ 127 --with-mpfr-include=$(pwd)/../gcc-&gcc-version;/mpfr/src \ 128 --with-mpfr-lib=$(pwd)/mpfr/src/.libs</userinput></screen> 124 --disable-libgomp</userinput></screen> 129 125 130 126 <variablelist>
Note:
See TracChangeset
for help on using the changeset viewer.