Ignore:
Timestamp:
05/16/2004 12:06:08 AM (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:
a001133
Parents:
90a4897
Message:

HEAD: Retaged the SBUs/disk-usage sections, the lists of options and the contents sections in chapter05.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/gcc-pass1.xml

    r90a4897 r9652249  
    44  %general-entities;
    55]>
    6 <sect1 id="ch-tools-gcc-pass1">
     6<sect1 id="ch-tools-gcc-pass1" role="wrap">
    77<title>GCC-&gcc-version; - Pass 1</title>
    88<?dbhtml filename="gcc-pass1.html"?>
     
    1212<secondary>tools, pass 1</secondary></indexterm>
    1313
    14 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/gcc.xml" xpointer="xpointer(/sect1/para[1])"/>
     14<sect2 role="package"><title/>
     15<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/gcc.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
    1516
    16 <screen>&buildtime; 4.4 SBU
    17 &diskspace; 300 MB</screen>
     17<segmentedlist>
     18<segtitle>&buildtime;</segtitle>
     19<segtitle>&diskspace;</segtitle>
     20<seglistitem><seg>4.4 SBU</seg><seg>300 MB</seg></seglistitem>
     21</segmentedlist>
    1822
    19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/gcc.xml" xpointer="xpointer(/sect1/para[2])"/>
     23<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/gcc.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
    2024
     25</sect2>
    2126
    22 <sect2>
     27<sect2 role="installation">
    2328<title>Installation of GCC</title>
    2429
     
    4651<para>The meaning of the configure options:</para>
    4752
    48 <itemizedlist>
    49 <listitem><para><userinput>--with-local-prefix=/tools</userinput>: The
    50 purpose of this switch is to remove <filename>/usr/local/include</filename>
     53<variablelist>
     54<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>
    5157from <command>gcc</command>'s include search path. This is not absolutely
    5258essential; however, we want to try to minimize the influence of the host
    5359system, so this a sensible thing to do.</para></listitem>
     60</varlistentry>
    5461
    55 <listitem><para><userinput>--enable-shared</userinput>: This switch may
     62<varlistentry>
     63<term><userinput>--enable-shared</userinput></term>
     64<listitem><para>This switch may
    5665seem counter-intuitive at first. But using it allows the building of
    5766<filename>libgcc_s.so.1</filename> and <filename>libgcc_eh.a</filename>, and
     
    6170statically, as this is controlled by the <emphasis>-static</emphasis>
    6271value of BOOT_LDFLAGS in the next step.</para></listitem>
     72</varlistentry>
    6373
    64 <listitem><para><userinput>--enable-languages=c</userinput>: This option
     74<varlistentry>
     75<term><userinput>--enable-languages=c</userinput></term>
     76<listitem><para>This option
    6577ensures that only the C compiler is built. The option is only needed when you
    6678have downloaded and unpacked the full GCC tarball.</para></listitem>
    67 </itemizedlist>
     79</varlistentry>
     80</variablelist>
    6881
    6982<para>Continue with compiling the package:</para>
     
    7386<para>The meaning of the make parameters:</para>
    7487
    75 <itemizedlist>
    76 <listitem><para><userinput>BOOT_LDFLAGS="-static"</userinput>: This tells
    77 GCC to link its programs statically.</para></listitem>
     88<variablelist>
     89<varlistentry>
     90<term><userinput>BOOT_LDFLAGS="-static"</userinput></term>
     91<listitem><para>This tells GCC to link its programs statically.</para></listitem>
     92</varlistentry>
    7893
    79 <listitem><para><userinput>bootstrap</userinput>: This target doesn't just
     94<varlistentry>
     95<term><userinput>bootstrap</userinput></term>
     96<listitem><para>This target doesn't just
    8097compile GCC, but compiles it several times. It uses the programs compiled in
    8198a first round to compile itself a second time, and then again a third time.
     
    83100reproduce itself flawlessly, which most probably means that it was
    84101compiled correctly.</para></listitem>
    85 </itemizedlist>
     102</varlistentry>
     103</variablelist>
    86104
    87105<para>Compilation is now complete, and at this point we would normally run the
     
    105123</sect2>
    106124
    107 <sect2><title/>
     125<sect2 role="content"><title/>
    108126<para>The details on this package are found in <xref linkend="contents-gcc"/>.</para>
    109127</sect2>
Note: See TracChangeset for help on using the changeset viewer.