Changeset e0901b3


Ignore:
Timestamp:
10/15/2012 07:27:20 PM (12 years ago)
Author:
Bruce Dubbs <bdubbs@…>
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, 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:
e7134f1
Parents:
6baa19d
Message:

Add notes to the gcc and binutils sections in Chapter 6
about "link time optimization" and the extra files built by gcc.

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r6baa19d re0901b3  
    4141      <itemizedlist>
    4242        <listitem>
     43          <para>[bdubbs] - Add notes to the gcc and binutils
     44           sections in Chapter 6 about "link time optimization"
     45           and the extra files built by gcc.  Fixes
     46          <ulink url="&lfs-ticket-root;3200">#3200</ulink>.</para>
     47        </listitem>
     48        <listitem>
    4349          <para>[bdubbs] - Upgrade to tzdata-2012f.  Fixes
    4450          <ulink url="&lfs-ticket-root;3205">#3205</ulink>.</para>
  • chapter06/binutils.xml

    r6baa19d re0901b3  
    7878
    7979<screen><userinput remap="configure">../binutils-&binutils-version;/configure --prefix=/usr --enable-shared</userinput></screen>
     80
     81    <note><para>There is an optional argument to <command>configure</command>,
     82    <option>--enable-lto</option>, that can be used to allow the
     83    <command>ar</command>, <command>nm</command>, and <command>ranlib</command>
     84    commands to accept a <option>--plugin</option> parameter.  This is used to
     85    allow <command>gcc</command> to do "link time optimization" if specified.
     86    No packages in LFS or BLFS currently use this capability.</para></note>
    8087
    8188    <para>Compile the package:</para>
  • chapter06/gcc.xml

    r6baa19d re0901b3  
    9797    </variablelist>
    9898
     99    <note>
     100      <para>There is an optional argument to <command>configure</command>,
     101      <option>--enable-lto</option>, that can be used to allow
     102      <command>gcc</command> to do do "link time optimization" if specified.  No
     103      packages in LFS or BLFS currently use this capability.</para>
     104   
     105      <para>To use this feature, it must also be enabled in
     106      <application>binutils</application>.</para>
     107    </note>
     108
    99109    <para>Compile the package:</para>
    100110
     
    302312
    303313      <seglistitem>
    304         <seg>c++, cc (link to gcc), cpp, g++, gcc, gccbug, and gcov</seg>
     314        <seg>c++, cc (link to gcc), cpp, g++, gcc,
     315        gcc-ar, gcc-nm, gcc-ranlib, gccbug, and gcov</seg>
     316
    305317        <seg>libgcc.a, libgcc_eh.a, libgcc_s.so, libgcov.a, libgomp.{a,so},
    306318        liblto_plugin.so, libmudflap.{a,so}, libmudflapth.{a,so},
    307319        libquadmath.{a,so}, libssp.{a,so},
    308320        libssp_nonshared.a, libstdc++.{a,so} and libsupc++.a</seg>
     321       
    309322        <seg>/usr/include/c++, /usr/lib/gcc, /usr/share/gcc-&gcc-version;</seg>
    310323      </seglistitem>
     
    367380      </varlistentry>
    368381
     382      <varlistentry id="gcc-ar">
     383        <term><command>gcc-ar</command></term>
     384        <listitem>
     385          <para>A wrapper around <command>ar</command> that adds a
     386          plugin to the command line.  This program is only used
     387          to add "link time optization" and is not useful with the
     388          default build options.</para>
     389          <indexterm zone="ch-system-gcc gcc-ar">
     390            <primary sortas="b-gcc-ar">gc-ar</primary>
     391          </indexterm>
     392        </listitem>
     393      </varlistentry>
     394
     395      <varlistentry id="gcc-nm">
     396        <term><command>gcc-nm</command></term>
     397        <listitem>
     398          <para>A wrapper around <command>nm</command> that adds a
     399          plugin to the command line.  This program is only used
     400          to add "link time optization" and is not useful with the
     401          default build options.</para>
     402          <indexterm zone="ch-system-gcc gcc-nm">
     403            <primary sortas="b-gcc-nm">gc-nm</primary>
     404          </indexterm>
     405        </listitem>
     406      </varlistentry>
     407
     408      <varlistentry id="gcc-ranlib">
     409        <term><command>gcc-ranlib</command></term>
     410        <listitem>
     411          <para>A wrapper around <command>ranlib</command> that adds a
     412          plugin to the command line.  This program is only used
     413          to add "link time optization" and is not useful with the
     414          default build options.</para>
     415          <indexterm zone="ch-system-gcc gcc-ranlib">
     416            <primary sortas="b-gcc-ranlib">gc-ranlib</primary>
     417          </indexterm>
     418        </listitem>
     419      </varlistentry>
     420
    369421      <varlistentry id="gccbug">
    370422        <term><command>gccbug</command></term>
Note: See TracChangeset for help on using the changeset viewer.