r1145 - in trunk/BOOK: . chapter01 chapter05 chapter06

robert at linuxfromscratch.org robert at linuxfromscratch.org
Mon Jun 11 01:26:27 PDT 2007


Author: robert
Date: 2007-06-11 02:26:27 -0600 (Mon, 11 Jun 2007)
New Revision: 1145

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter05/cocoon-toolchain.xml
   trunk/BOOK/chapter06/butterfly-toolchain.xml
   trunk/BOOK/general.ent
Log:
Removed the big ugly Sed commands for Posix syntax in cocoon and butterfly. This should be a patch, eventually.

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml	2007-06-08 09:28:08 UTC (rev 1144)
+++ trunk/BOOK/chapter01/changelog.xml	2007-06-11 08:26:27 UTC (rev 1145)
@@ -49,6 +49,16 @@
 -->
 
     <listitem>
+      <para>June 11th, 2007</para>
+      <itemizedlist>
+        <listitem>
+          <para>[robert]: Removed the big ugly Sed commands for Posix syntax
+          in cocoon and butterfly. This should be a patch, eventually.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>June 8th, 2007</para>
       <itemizedlist>
         <listitem>

Modified: trunk/BOOK/chapter05/cocoon-toolchain.xml
===================================================================
--- trunk/BOOK/chapter05/cocoon-toolchain.xml	2007-06-08 09:28:08 UTC (rev 1144)
+++ trunk/BOOK/chapter05/cocoon-toolchain.xml	2007-06-11 08:26:27 UTC (rev 1145)
@@ -99,31 +99,6 @@
 patch -Np1 -i ../&gcc-uClibc_conf-patch;
 patch -Np1 -i ../&gcc-uClibc_locale-patch;</userinput></screen>
 
-    <para>Binutils-&binutils-version; and GCC-&gcc-version; do not use Posix
-    compliant command syntax with the <command>head</command> and
-    <command>tail</command> commands. Although this is not critical it should
-    be fixed. Do so with the following commands:</para>
-
-<screen><userinput>cp -vi libstdc++-v3/configure{,.orig}
-sed 's/head -1/head -n 1/g' libstdc++-v3/configure.orig \
-    > libstdc++-v3/configure
-cp -vi ltcf-c.sh{,.orig}
-sed 's/head -1/head -n 1/g' ltcf-c.sh.orig > ltcf-c.sh
-cp -vi ltcf-gcj.sh{,.orig}
-sed 's/head -1/head -n 1/g' ltcf-gcj.sh.orig > ltcf-gcj.sh
-cp -vi configure{,.orig}
-sed 's/tail +16c/tail -c +16/g' configure.orig > configure
-cp -vi gas/Makefile.in{,.orig}
-sed 's/tail +16c/tail -c +16/g' gas/Makefile.in.orig > gas/Makefile.in
-cp -vi gcc/Makefile.in{,.orig}
-sed 's/tail +16c/tail -c +16/g' gcc/Makefile.in.orig > gcc/Makefile.in
-cp -vi gcc/configure{,.orig}
-sed 's/tail -3/tail -n 3/g' gcc/configure.orig > gcc/configure
-cp -vi ld/testsuite/ld-bootstrap/bootstrap.exp{,.orig}
-sed 's/tail +140/tail -n +140/g' \
-    ld/testsuite/ld-bootstrap/bootstrap.exp.orig \
-      > ld/testsuite/ld-bootstrap/bootstrap.exp</userinput></screen>
-
     <para>This version of GCC has a small bug/typo with RPATH_ENVVAR value for
     bfd and opcode. Use the following commands to fix this bug, so that
     <quote>--enable-shared</quote> will work:</para>

Modified: trunk/BOOK/chapter06/butterfly-toolchain.xml
===================================================================
--- trunk/BOOK/chapter06/butterfly-toolchain.xml	2007-06-08 09:28:08 UTC (rev 1144)
+++ trunk/BOOK/chapter06/butterfly-toolchain.xml	2007-06-11 08:26:27 UTC (rev 1145)
@@ -102,19 +102,6 @@
 
 <screen><userinput>patch -Np1 -i ../&gcc-strncat_chk-patch;</userinput></screen>
 
-    <para>Make the <command>head</command> and <command>tail</command> command
-    syntax Posix compliant:</para>
-
-<screen><userinput>sed 's/head -1/head -n 1/g' -i.orig libstdc++-v3/configure
-sed 's/head -1/head -n 1/g' -i.orig ltcf-c.sh
-sed 's/head -1/head -n 1/g' -i.orig ltcf-gcj.sh
-sed 's/tail +16c/tail -c +16/g' -i.orig configure
-sed 's/tail +16c/tail -c +16/g' -i.orig gas/Makefile.in
-sed 's/tail +16c/tail -c +16/g' -i.orig gcc/Makefile.in
-sed 's/tail -3/tail -n 3/g' -i.orig gcc/configure
-sed 's/tail +140/tail -n +140/g' -i.orig \
-    ld/testsuite/ld-bootstrap/bootstrap.exp</userinput></screen>
-
     <para condition="uclibc">Apply these patches for uClibc support.
     The locale patch is needed even if you have disabled locale support:</para>
 

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2007-06-08 09:28:08 UTC (rev 1144)
+++ trunk/BOOK/general.ent	2007-06-11 08:26:27 UTC (rev 1145)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<!ENTITY version "SVN-20070608">
-<!ENTITY releasedate "June 8th, 2007">
+<!ENTITY version "SVN-20070611">
+<!ENTITY releasedate "June 11th, 2007">
 <!ENTITY milestone "1.1">
 
 <!ENTITY lfs-root "http://www.linuxfromscratch.org/">




More information about the hlfs-book mailing list