Author: bdubbs
Date: 2009-05-17 11:18:36 -0600 (Sun, 17 May 2009)
New Revision: 8885
Modified:
trunk/BOOK/chapter01/changelog.xml
trunk/BOOK/chapter06/glibc.xml
trunk/BOOK/general.ent
Log:
Add optimization (-O3 and -pipe) to glibc in Chapter 6
Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml 2009-05-17 03:37:12 UTC (rev 8884)
+++ trunk/BOOK/chapter01/changelog.xml 2009-05-17 17:18:36 UTC (rev 8885)
@@ -38,6 +38,18 @@
-->
<listitem>
+ <para>2009-05-17</para>
+ <itemizedlist>
+ <listitem>
+ <para>[bdubbs] - Add optimization (-O3 and -pipe) to
+ glibc in Chapter 6.
+ Fixes
+ <ulink url="&lfs-ticket-root;2299">#2299</ulink>.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
<para>2009-05-16</para>
<itemizedlist>
<listitem>
Modified: trunk/BOOK/chapter06/glibc.xml
===================================================================
--- trunk/BOOK/chapter06/glibc.xml 2009-05-17 03:37:12 UTC (rev 8884)
+++ trunk/BOOK/chapter06/glibc.xml 2009-05-17 17:18:36 UTC (rev 8885)
@@ -109,10 +109,12 @@
<screen><userinput remap="pre">mkdir -v ../glibc-build
cd ../glibc-build</userinput></screen>
- <para>Again, add the needed compiler flags to CFLAGS for x86
machines:</para>
+ <para>As in Chapter 5, add the needed compiler flags to CFLAGS for x86
machines.
+ Here, the optimization of the library is also set for the gcc compiler to
+ enhance compilation speed (-pipe) and package performance (-O3).</para>
<screen><userinput remap="configure">case `uname -m` in
- i?86) echo "CFLAGS += -march=i486 -mtune=native" > configparms ;;
+ i?86) echo "CFLAGS += -march=i486 -mtune=native -O3 -pipe" > configparms
;;
esac</userinput></screen>
<para>Prepare Glibc for compilation:</para>
Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent 2009-05-17 03:37:12 UTC (rev 8884)
+++ trunk/BOOK/general.ent 2009-05-17 17:18:36 UTC (rev 8885)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<!ENTITY version "SVN-20090516">
-<!ENTITY releasedate "May 16, 2009">
+<!ENTITY version "SVN-20090517">
+<!ENTITY releasedate "May 17, 2009">
<!ENTITY copyrightdate "1999-2009"><!-- jhalfs needs a literal dash, not
– -->
<!ENTITY milestone "6.5">
<!ENTITY generic-version "development"> <!-- Use "development", "testing", or
"x.y[-pre{x}]" -->
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page