Author: jhuntwork
Date: 2007-10-04 09:51:20 -0600 (Thu, 04 Oct 2007)
New Revision: 8400
Modified:
branches/jh/BOOK/chapter01/changelog.xml
branches/jh/BOOK/chapter05/glibc.xml
branches/jh/BOOK/chapter06/glibc.xml
Log:
Fixed grep syntax in Glibc
Modified: branches/jh/BOOK/chapter01/changelog.xml
===================================================================
--- branches/jh/BOOK/chapter01/changelog.xml 2007-10-04 15:48:43 UTC (rev
8399)
+++ branches/jh/BOOK/chapter01/changelog.xml 2007-10-04 15:51:20 UTC (rev
8400)
@@ -37,6 +37,15 @@
-->
<listitem>
+ <para>2007-10-04</para>
+ <itemizedlist>
+ <listitem>
+ <para>[jhuntwork] - Fixed grep syntax in Glibc.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
<para>2007-09-25</para>
<itemizedlist>
<listitem>
Modified: branches/jh/BOOK/chapter05/glibc.xml
===================================================================
--- branches/jh/BOOK/chapter05/glibc.xml 2007-10-04 15:48:43 UTC (rev
8399)
+++ branches/jh/BOOK/chapter05/glibc.xml 2007-10-04 15:51:20 UTC (rev
8400)
@@ -57,7 +57,7 @@
for CFLAGS, append the new flag to the existing contents of CFLAGS by
making use of the special file <filename>configparms</filename>:</para>
-<screen><userinput remap="configure">uname -m | grep -q i?86 &&
+<screen><userinput remap="configure">uname -m | grep -q i[4-7]86 &&
echo "CFLAGS += -march=i486" > configparms</userinput></screen>
<para>Next, prepare Glibc for compilation:</para>
Modified: branches/jh/BOOK/chapter06/glibc.xml
===================================================================
--- branches/jh/BOOK/chapter06/glibc.xml 2007-10-04 15:48:43 UTC (rev
8399)
+++ branches/jh/BOOK/chapter06/glibc.xml 2007-10-04 15:51:20 UTC (rev
8400)
@@ -106,7 +106,7 @@
<para>Again, add the needed compiler flag to CFLAGS for x86
machines:</para>
-<screen><userinput remap="configure">uname -m | grep -q i?86 &&
+<screen><userinput remap="configure">uname -m | grep -q i[4-7]86 &&
echo "CFLAGS += -march=i486" > configparms</userinput></screen>
<para>Prepare Glibc for compilation:</para>
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page