Ignore:
Timestamp:
02/25/2004 10:04:14 PM (20 years ago)
Author:
Alex Gronenwoud <alex@…>
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, 6.0, 6.1, 6.1.1, 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, v5_1, v5_1_1, 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:
dd3e8c6
Parents:
e421d2e
Message:

Minor textual shuffles.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/gcc-pass1.xml

    re421d2e rede9b9b  
    1616<title>Installation of GCC</title>
    1717
    18 <para>Unpack only the GCC-core tarball, as we won't be needing a C++ compiler
    19 for the moment.</para>
     18<para>Unpack only the GCC-core tarball, as we won't be needing the C++ compiler
     19nor the test suite at the moment.</para>
    2020
    21 <para>This package is known to behave badly when you have changed its
    22 default optimization flags (including the -march and -mcpu options).
    23 Therefore, if you have defined any environment variables that override
    24 default optimizations, such as CFLAGS and CXXFLAGS, we recommend unsetting
    25 or modifying them when building GCC.</para>
     21<para>This package is known to behave badly when you change its default
     22optimization flags (including the <emphasis>-march</emphasis> and
     23<emphasis>-mcpu</emphasis> options). Therefore, if you have defined any
     24environment variables that override default optimizations, such as CFLAGS and
     25CXXFLAGS, we recommend unsetting them when building GCC.</para>
    2626
    2727<para>The GCC documentation recommends building GCC outside of the source
     
    5353script for Glibc (the next package we compile) produces the proper results.
    5454Note that the <command>gcc</command> binaries will still be linked
    55 statically, as this is controlled by the <command>-static</command>
    56 value of BOOT_LDFLAGS further on.</para></listitem>
     55statically, as this is controlled by the <emphasis>-static</emphasis>
     56value of BOOT_LDFLAGS in the next step.</para></listitem>
    5757
    5858<listitem><para><userinput>--enable-languages=c</userinput>: This option
     
    7979</itemizedlist>
    8080
    81 <para>Compilation is now complete. This is the point where we would normally
    82 run the test suite. But as discussed earlier, we don't recommend running the
    83 test suites for the temporary tools here in this chapter. However, even if we
    84 still wanted to run the GCC test suite, we're unable do so at this early stage
    85 because the test suite framework is not yet in place. Not only that, the
    86 programs from this first pass will soon be overwritten by those installed in
    87 the second pass.</para>
     81<para>Compilation is now complete, and at this point we would normally run the
     82test suite. But, as mentioned before, the test suite framework is not in place
     83yet. And there would be little point in running the tests anyhow, since the
     84programs from this first pass will soon be replaced.</para>
    8885
    8986<para>And install the package:</para>
     
    9188<screen><userinput>make install</userinput></screen>
    9289
    93 <para>As a finishing touch we'll create the <filename
    94 class="symlink">/tools/bin/cc</filename> symlink. Many programs and
    95 scripts run <command>cc</command> instead of <command>gcc</command>,
     90<para>As a finishing touch we'll create a symlink. Many programs and scripts
     91run <command>cc</command> instead of <command>gcc</command>,
    9692a thing meant to keep programs generic and therefore usable on all kinds of
    9793Unix systems. Not everybody has the GNU C compiler installed. Simply running
Note: See TracChangeset for help on using the changeset viewer.