Author: jhuntwork
Date: 2007-08-31 20:34:39 -0600 (Fri, 31 Aug 2007)
New Revision: 8363
Modified:
branches/jh/BOOK/chapter01/changelog.xml
branches/jh/BOOK/chapter05/gcc-pass1.xml
Log:
Update explanatory text for GCC's --with-arch parameter
Modified: branches/jh/BOOK/chapter01/changelog.xml
===================================================================
--- branches/jh/BOOK/chapter01/changelog.xml 2007-08-31 21:19:22 UTC (rev
8362)
+++ branches/jh/BOOK/chapter01/changelog.xml 2007-09-01 02:34:39 UTC (rev
8363)
@@ -40,6 +40,9 @@
<para>2007-08-31</para>
<itemizedlist>
<listitem>
+ <para>[jhuntwork] - Update explanatory text for GCC's --with-arch
parameter.</para>
+ </listitem>
+ <listitem>
<para>[jhuntwork] - Add --disable-bootstrap flags to GCC pass 2 and
chapter 6 GCC,
to achieve traditional LFS build methods with GCC 4.2.1.</para>
</listitem>
Modified: branches/jh/BOOK/chapter05/gcc-pass1.xml
===================================================================
--- branches/jh/BOOK/chapter05/gcc-pass1.xml 2007-08-31 21:19:22 UTC (rev
8362)
+++ branches/jh/BOOK/chapter05/gcc-pass1.xml 2007-09-01 02:34:39 UTC (rev
8363)
@@ -110,9 +110,17 @@
<varlistentry>
<term><parameter>--with-arch=i486</parameter></term>
<listitem>
- <para>On x86 machines Glibc needs to be built for a minimum
architecture
- of <quote>i486</quote>. Setting this for the GCC build ensures that
the
- entire system is built consistently.</para>
+ <para>On x86 machines Glibc-&glibc-version; needs to be built for a
+ minimum architecture of <quote>i486</quote>. In fact, Glibc
developers suggest
+ setting the compiler flag <parameter>-march=i486</parameter> when
compiling it.
+ However, by using the above parameter for the GCC build, we can set a
default
+ value for <parameter>-march</parameter> at the compiler level,
ensuring that
+ the entire system is built consistently, i.e., for the same cpu-type.
+ Of course, values greater or more specific than <quote>i486</quote>
could be
+ used. See <command>man gcc</command> for other acceptable cpu-types.
+ Keep in mind that using an incompatible cpu-type for the machine will
result
+ in breakage. The advantage of <quote>i486</quote> is that it is a
generic
+ option and will work for all modern x86 machines.</para>
</listitem>
</varlistentry>
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page