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-pass1.xml

    rb711e1d r574b0ea  
    3232
    3333<para>This package is known to behave badly when you change its default
    34 optimization flags (including the <emphasis>-march</emphasis> and
    35 <emphasis>-mcpu</emphasis> options). Therefore, if you have defined any
     34optimization flags (including the <parameter>-march</parameter> and
     35<parameter>-mcpu</parameter> options). Therefore, if you have defined any
    3636environment variables that override default optimizations, such as CFLAGS and
    3737CXXFLAGS, we recommend un-setting them when building GCC.</para>
     
    5353<variablelist>
    5454<varlistentry>
    55 <term><userinput>--with-local-prefix=/tools</userinput></term>
    56 <listitem><para>The purpose of this switch is to remove <filename>/usr/local/include</filename>
     55<term><parameter>--with-local-prefix=/tools</parameter></term>
     56<listitem><para>The purpose of this switch is to remove <filename class="directory">/usr/local/include</filename>
    5757from <command>gcc</command>'s include search path. This is not absolutely
    5858essential; however, we want to try to minimize the influence of the host
     
    6161
    6262<varlistentry>
    63 <term><userinput>--enable-shared</userinput></term>
     63<term><parameter>--enable-shared</parameter></term>
    6464<listitem><para>This switch may
    6565seem counter-intuitive at first. But using it allows the building of
     
    6767having <filename>libgcc_eh.a</filename> available ensures that the configure
    6868script for Glibc (the next package we compile) produces the proper results.
    69 Note that the <command>gcc</command> binaries will still be linked
    70 statically, as this is controlled by the <emphasis>-static</emphasis>
     69Note that the GCC binaries will still be linked
     70statically, as this is controlled by the <parameter>-static</parameter>
    7171value of BOOT_LDFLAGS in the next step.</para></listitem>
    7272</varlistentry>
    7373
    7474<varlistentry>
    75 <term><userinput>--enable-languages=c</userinput></term>
     75<term><parameter>--enable-languages=c</parameter></term>
    7676<listitem><para>This option
    7777ensures that only the C compiler is built. The option is only needed when you
     
    8888<variablelist>
    8989<varlistentry>
    90 <term><userinput>BOOT_LDFLAGS="-static"</userinput></term>
     90<term><parameter>BOOT_LDFLAGS="-static"</parameter></term>
    9191<listitem><para>This tells GCC to link its programs statically.</para></listitem>
    9292</varlistentry>
    9393
    9494<varlistentry>
    95 <term><userinput>bootstrap</userinput></term>
     95<term><parameter>bootstrap</parameter></term>
    9696<listitem><para>This target doesn't just
    9797compile GCC, but compiles it several times. It uses the programs compiled in
Note: See TracChangeset for help on using the changeset viewer.