Changeset 2e02c35 for chapter06/gcc.xml


Ignore:
Timestamp:
09/09/2005 08:34:44 PM (19 years ago)
Author:
Matthew Burgess <matthew@…>
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
Message:

Upgrade to gcc-4.0.1 (merge of gcc4 branch)

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@6819 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/gcc.xml

    r98fe721 r2e02c35  
    3939unset them when building GCC.</para>
    4040
    41 <para>Apply only the No-Fixincludes patch (not the Specs patch) also
    42 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 Scratch
    47 install (e.g., Mozilla and kdegraphics) when used in conjunction with newer
    48 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 
    5241<para>Apply a <command>sed</command> substitution that will suppress the
    5342installation of <filename class="libraryfile">libiberty.a</filename>. The
     
    5645
    5746<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"/>
     49built GCC with the <option>-fomit-frame-pointer</option> compiler flag.
     50Non-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 =$/&amp; -fomit-frame-pointer/' gcc/Makefile.in</userinput></screen>
    5855
    5956<para>The GCC documentation recommends building GCC outside of the source
Note: See TracChangeset for help on using the changeset viewer.