Changeset 944d1e4


Ignore:
Timestamp:
09/01/2007 02:34:39 AM (17 years ago)
Author:
Jeremy Huntwork <jhuntwork@…>
Children:
a6be895
Parents:
1c1479e
Message:

Update explanatory text for GCC's --with-arch parameter

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

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r1c1479e r944d1e4  
    4040      <para>2007-08-31</para>
    4141      <itemizedlist>
     42        <listitem>
     43          <para>[jhuntwork] - Update explanatory text for GCC's --with-arch parameter.</para>
     44        </listitem>
    4245        <listitem>
    4346          <para>[jhuntwork] - Add --disable-bootstrap flags to GCC pass 2 and chapter 6 GCC,
  • chapter05/gcc-pass1.xml

    r1c1479e r944d1e4  
    111111        <term><parameter>--with-arch=i486</parameter></term>
    112112        <listitem>
    113           <para>On x86 machines Glibc needs to be built for a minimum architecture
    114           of <quote>i486</quote>. Setting this for the GCC build ensures that the
    115           entire system is built consistently.</para>
     113          <para>On x86 machines Glibc-&glibc-version; needs to be built for a
     114          minimum architecture of <quote>i486</quote>. In fact, Glibc developers suggest
     115          setting the compiler flag <parameter>-march=i486</parameter> when compiling it.
     116          However, by using the above parameter for the GCC build, we can set a default
     117          value for <parameter>-march</parameter> at the compiler level, ensuring that
     118          the entire system is built consistently, i.e., for the same cpu-type.
     119          Of course, values greater or more specific than <quote>i486</quote> could be
     120          used. See <command>man gcc</command> for other acceptable cpu-types.
     121          Keep in mind that using an incompatible cpu-type for the machine will result
     122          in breakage. The advantage of <quote>i486</quote> is that it is a generic
     123          option and will work for all modern x86 machines.</para>
    116124        </listitem>
    117125      </varlistentry>
Note: See TracChangeset for help on using the changeset viewer.