Ignore:
Timestamp:
05/30/2004 01:41:04 PM (20 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
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, 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:
07f719a
Parents:
b711e1d
Message:

Tagging corrections in chapters 5.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/gcc-pass2.xml

    rb711e1d r574b0ea  
    3131highly dependent on properly functioning pseudo terminals (PTYs) which are
    3232provided by your host. These days, PTYs are most commonly implemented via the
    33 <emphasis>devpts</emphasis> file system. You can quickly check if your host
     33<systemitem class="filesystem">devpts</systemitem> file system. You can quickly check if your host
    3434system is set up correctly in this regard by performing a simple test:</para>
    3535
     
    3838<para>The response might be:</para>
    3939
    40 <blockquote><screen>The system has no more ptys.  Ask your system administrator to create more.</screen></blockquote>
     40<blockquote><screen><computeroutput>The system has no more ptys.  Ask your system administrator to create more.</computeroutput></screen></blockquote>
    4141
    4242<para>If you receive the above message, your host doesn't have its PTYs set up
     
    4949to unpack both the core and the g++ tarballs (and testsuite too, if you want to
    5050run the tests). Unpacking them in your working directory, they will all unfold
    51 into a single <filename>gcc-&gcc-version;/</filename> subdirectory.</para>
     51into a single <filename class="directory">gcc-&gcc-version;/</filename> subdirectory.</para>
    5252
    5353<para>First correct a problem and make an essential adjustment:</para>
     
    5656patch -Np1 -i ../gcc-&gcc-short-version;-specs-1.patch</userinput></screen>
    5757
    58 <para>The first patch disables the GCC <quote>fixincludes</quote> script. We
     58<para>The first patch disables the GCC <command>fixincludes</command> script. We
    5959mentioned this briefly earlier, but a slightly more in-depth explanation of
    6060the fixincludes process is warranted here. Under normal circumstances, the GCC
    61 fixincludes script scans your system for header files that need to be fixed. It
     61<command>fixincludes</command> script scans your system for header files that need to be fixed. It
    6262might find that some Glibc header files on your host system need to be fixed,
    6363fix them and put them in the GCC private include directory. Then, later on in
     
    9999<variablelist>
    100100<varlistentry>
    101 <term><userinput>--enable-clocale=gnu</userinput></term>
     101<term><parameter>--enable-clocale=gnu</parameter></term>
    102102<listitem><para>This option
    103103ensures the correct locale model is selected for the C++ libraries under all
     
    110110
    111111<varlistentry>
    112 <term><userinput>--enable-threads=posix</userinput></term>
     112<term><parameter>--enable-threads=posix</parameter></term>
    113113<listitem><para>This enables
    114114C++ exception handling for multi-threaded code.</para></listitem>
     
    116116
    117117<varlistentry>
    118 <term><userinput>--enable-__cxa_atexit</userinput></term>
     118<term><parameter>--enable-__cxa_atexit</parameter></term>
    119119<listitem><para>This option
    120120allows use of __cxa_atexit, rather than atexit, to register C++ destructors for
     
    126126
    127127<varlistentry>
    128 <term><userinput>--enable-languages=c,c++</userinput></term>
     128<term><parameter>--enable-languages=c,c++</parameter></term>
    129129<listitem><para>This option
    130130ensures that both the C and C++ compilers are built.</para></listitem>
     
    132132
    133133<varlistentry>
    134 <term><userinput>--disable-libstdcxx-pch</userinput></term>
     134<term><parameter>--disable-libstdcxx-pch</parameter></term>
    135135<listitem><para>Don't build the
    136136PCH (pre-compiled header) for libstdc++. It takes up a ton of space, and we
     
    143143<screen><userinput>make</userinput></screen>
    144144
    145 <para>There is no need to use the <emphasis>bootstrap</emphasis> target now,
     145<para>There is no need to use the <parameter>bootstrap</parameter> target now,
    146146as the compiler we're using to compile this GCC was built from the exact same
    147147version of the GCC sources we used earlier.</para>
     
    154154<screen><userinput>make -k check</userinput></screen>
    155155
    156 <para>The <emphasis>-k</emphasis> flag is used to make the test suite run
     156<para>The <parameter>-k</parameter> flag is used to make the test suite run
    157157through to completion and not stop at the first failure. The GCC test suite is
    158158very comprehensive and is almost guaranteed to generate a few failures. To get
Note: See TracChangeset for help on using the changeset viewer.