Changeset 6206f72 for chapter06/gcc.xml
- Timestamp:
- 05/11/2014 09:58:56 PM (10 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- ee9a785
- Parents:
- f6fe500
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/gcc.xml
rf6fe500 r6206f72 46 46 47 47 <screen><userinput remap="pre">patch -Np1 -i ../&gcc-upstream-patch;</userinput></screen> 48 48 <!-- 49 49 <para>As in <xref linkend="ch-tools-gcc-pass2"/>, apply the following 50 50 <command>sed</command> to force the build to use the … … 55 55 i?86) sed -i 's/^T_CFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in ;; 56 56 esac</userinput></screen> 57 57 --> 58 58 <para>The GCC documentation recommends building GCC outside of the source 59 59 directory in a dedicated build directory:</para> … … 151 151 <screen><userinput remap="install">ln -sv gcc /usr/bin/cc</userinput></screen> 152 152 153 <para>Add a compatibility symlink to enable building programs with 154 Link Time Optimization (LTO):</para> 155 156 <screen><userinput remap="install">install -dm755 /usr/lib/bfd-plugins 157 pushd /usr/lib/bfd-plugins 158 ln -sfv ../../libexec/gcc/x86_64-unknown-linux-gnu/&gcc-version;/liblto_plugin.so 159 popd</userinput></screen> 160 153 161 <para>Now that our final toolchain is in place, it is important to again ensure 154 162 that compiling and linking will work as expected. We do this by performing
Note:
See TracChangeset
for help on using the changeset viewer.