Author: matthew
Date: 2006-08-17 14:00:55 -0600 (Thu, 17 Aug 2006)
New Revision: 7775
Modified:
trunk/BOOK/chapter01/changelog.xml
trunk/BOOK/chapter05/adjusting.xml
Log:
Simplified the command that adjusts GCC's specs file
Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml 2006-08-17 19:55:41 UTC (rev 7774)
+++ trunk/BOOK/chapter01/changelog.xml 2006-08-17 20:00:55 UTC (rev 7775)
@@ -39,6 +39,10 @@
<para>2006-08-17</para>
<itemizedlist>
<listitem>
+ <para>[matthew] - Simplified the command that adjusts GCC's specs
+ file. Fixes #1837. Thanks to Robery Connolly.</para>
+ </listitem>
+ <listitem>
<para>[matthew] - Noted devfs' removal from the kernel. Thanks to
Peter Ennis.</para>
</listitem>
Modified: trunk/BOOK/chapter05/adjusting.xml
===================================================================
--- trunk/BOOK/chapter05/adjusting.xml 2006-08-17 19:55:41 UTC (rev 7774)
+++ trunk/BOOK/chapter05/adjusting.xml 2006-08-17 20:00:55 UTC (rev 7775)
@@ -35,11 +35,8 @@
dynamic linker that GCC will use:</para>
<!-- Ampersands are needed to allow copy and paste -->
-<screen><userinput>SPECFILE=`dirname $(gcc -print-libgcc-file-name)`/specs
&&
-gcc -dumpspecs > $SPECFILE &&
-sed '[EMAIL PROTECTED]/lib/ld-linux.so.2@/tools&@g' $SPECFILE >
tempspecfile &&
-mv -vf tempspecfile $SPECFILE &&
-unset SPECFILE</userinput></screen>
+<screen><userinput>gcc -dumpspecs | sed '[EMAIL
PROTECTED]/lib/ld-linux.so.2@/tools&@g' \
+ > `dirname $(gcc -print-libgcc-file-name)`/specs</userinput></screen>
<para>It is recommended that the above command be copy-and-pasted in order to
ensure accuracy. Alternatively, the specs file can be edited by hand. This is
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page