Changeset 2e02c35 for chapter06/gcc.xml
- Timestamp:
- 09/09/2005 08:34:44 PM (19 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, 12.2, 12.2-rc1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 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/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 80d66d1
- Parents:
- 98fe721
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/gcc.xml
r98fe721 r2e02c35 39 39 unset them when building GCC.</para> 40 40 41 <para>Apply only the No-Fixincludes patch (not the Specs patch) also42 used in the previous chapter:</para>43 44 <screen><userinput>patch -Np1 -i ../&gcc-no_fixincludes-patch;</userinput></screen>45 46 <para>GCC fails to compile some packages outside of a base Linux From Scratch47 install (e.g., Mozilla and kdegraphics) when used in conjunction with newer48 versions of Binutils. Apply the following patch to fix this issue:</para>49 50 <screen><userinput>patch -Np1 -i ../&gcc-linkonce-patch;</userinput></screen>51 52 41 <para>Apply a <command>sed</command> substitution that will suppress the 53 42 installation of <filename class="libraryfile">libiberty.a</filename>. The … … 56 45 57 46 <screen><userinput>sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in</userinput></screen> 47 48 <para>The bootstrap build performed in <xref linkend="ch-tools-gcc-pass1"/> 49 built GCC with the <option>-fomit-frame-pointer</option> compiler flag. 50 Non-bootstrap builds omit this flag by default, so apply the following 51 <command>sed</command> to use it in order to ensure consistent compiler builds. 52 </para> 53 54 <screen><userinput>sed -i 's/^XCFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in</userinput></screen> 58 55 59 56 <para>The GCC documentation recommends building GCC outside of the source
Note:
See TracChangeset
for help on using the changeset viewer.