r662 - in trunk/BOOK: . chapter01 chapter05 chapter06

robert at linuxfromscratch.org robert at linuxfromscratch.org
Sat Jul 1 16:32:16 PDT 2006

Author: robert
Date: 2006-07-01 17:32:14 -0600 (Sat, 01 Jul 2006)
New Revision: 662

Bump to make-3.81, this fixes a issue with uClibc and malloc_compat. Install ld-new to /tools so that binutils-build does not need to be saved.

Modified: trunk/BOOK/chapter01/changelog.xml
--- trunk/BOOK/chapter01/changelog.xml	2006-07-01 18:43:27 UTC (rev 661)
+++ trunk/BOOK/chapter01/changelog.xml	2006-07-01 23:32:14 UTC (rev 662)
@@ -66,7 +66,7 @@
@@ -110,6 +110,12 @@
+<listitem><para>July 1st, 2006 [Robert]: Bump to make-3.81, this fixes a issue with
+uClibc and malloc_compat.</para></listitem>
+<listitem><para>July 1st, 2006 [Robert]: Install ld-new to /tools so that binutils-build
+does not need to be saved.</para></listitem>
 <listitem><para>July 1st, 2006 [Robert]: Bump to Binutils-2.17, and bash-3.1-fixes-8.patch.
 Added Binutils posix patch. Started adding -v to provide verbose commands, such as to

Modified: trunk/BOOK/chapter05/adjusting.xml
--- trunk/BOOK/chapter05/adjusting.xml	2006-07-01 18:43:27 UTC (rev 661)
+++ trunk/BOOK/chapter05/adjusting.xml	2006-07-01 23:32:14 UTC (rev 662)
@@ -7,10 +7,10 @@
 <title>Adjusting the Toolchain</title>
 <?dbhtml filename="adjusting.html"?>
-<para>Go back in the binutils-build directory and run:</para>
+<para>Install the new linker we compiled earlier:</para>
-<screen><userinput>install ld/ld-new /tools/bin/${target}-ld 
-ln -f /tools/bin/${target}-ld /tools/${target}/bin/ld</userinput></screen>
+<screen><userinput>mv -v /tools/bin/${target}-{ld-new,ld}
+ln -vf /tools/bin/${target}-ld /tools/${target}/bin/ld</userinput></screen>
 <para>Test that we are linking to <filename class="directory">/tools</filename>.</para>

Modified: trunk/BOOK/chapter05/binutils-cross.xml
--- trunk/BOOK/chapter05/binutils-cross.xml	2006-07-01 18:43:27 UTC (rev 661)
+++ trunk/BOOK/chapter05/binutils-cross.xml	2006-07-01 23:32:14 UTC (rev 662)
@@ -68,12 +68,9 @@
 later on:</para>
 <screen><userinput>make -C ld clean
-make -C ld LIB_PATH=/tools/lib</userinput></screen>
+make -C ld LIB_PATH=/tools/lib
+install -v ld/ld-new /tools/bin/${target}-ld-new</userinput></screen>
-<warning><para><emphasis>Do not</emphasis> remove the Binutils
-build and source directories yet. These will be needed again in their
-current state to get the post libc tool chain to build.</para></warning>
 <sect2 role="content"><title/>

Modified: trunk/BOOK/chapter05/binutils.xml
--- trunk/BOOK/chapter05/binutils.xml	2006-07-01 18:43:27 UTC (rev 661)
+++ trunk/BOOK/chapter05/binutils.xml	2006-07-01 23:32:14 UTC (rev 662)
@@ -76,12 +76,9 @@
 <screen><userinput>make -C ld clean
-make -C ld LIB_PATH=/usr/lib:/lib</userinput></screen>
+make -C ld LIB_PATH=/usr/lib:/lib
+install -v ld/ld-new /tools/bin/ld-new</userinput></screen>
-<warning><para><emphasis>Do not</emphasis> remove the Binutils source and
-build directories yet. These directories will be needed again in the next
-chapter in their current state.</para></warning>
 <sect2 role="content"><title/>

Modified: trunk/BOOK/chapter06/readjusting.xml
--- trunk/BOOK/chapter06/readjusting.xml	2006-07-01 18:43:27 UTC (rev 661)
+++ trunk/BOOK/chapter06/readjusting.xml	2006-07-01 23:32:14 UTC (rev 662)
@@ -21,24 +21,11 @@
 class="directory">/tools/lib</filename> directory to the HLFS
 <filename class="directory">/{,usr/}lib</filename> directories.</para>
-<para>Start by adjusting the linker. The source and build directories
-from the second pass over Binutils were retained for this purpose.
-Install the adjusted linker by running the following command from
-within the <filename class="directory">binutils-build</filename>
+<para>Start by adjusting the linker. Install the new linker compiled
-<screen><userinput>install ld/ld-new /tools/bin/ld</userinput></screen>
+<screen><userinput>install -v /tools/bin/ld{-new,}</userinput></screen>
-<note><para>If the earlier warning to retain the Binutils source and
-build directories from the second pass in <xref
-linkend="chapter-temporary-tools"/> was missed, or if they were
-accidentally deleted or are inaccessible, ignore the above command.
-The result will be that the next package, Binutils, will link against
-the C libraries in <filename class="directory">/tools</filename>
-rather than in <filename class="directory">/{,usr/}lib</filename>.
-This is not ideal, however, testing has shown that the resulting
-Binutils program binaries should be identical.</para></note>
 <para>From now on, every compiled program will link only against the
 libraries in <filename class="directory">/usr/lib</filename> and
 <filename class="directory">/lib</filename>.</para>

Modified: trunk/BOOK/packages.ent
--- trunk/BOOK/packages.ent	2006-07-01 18:43:27 UTC (rev 661)
+++ trunk/BOOK/packages.ent	2006-07-01 23:32:14 UTC (rev 662)
@@ -106,8 +106,8 @@
 <!ENTITY m4-version "1.4.4">
 <!ENTITY m4-md5 "8d1d64dbecf1494690a0f3ba8db4482a">
-<!ENTITY make-version "3.80">
-<!ENTITY make-md5 "0bbd1df101bc0294d440471e50feca71">
+<!ENTITY make-version "3.81">
+<!ENTITY make-md5 "354853e0b2da90c527e35aabb8d6f1e6">
 <!ENTITY man-version "1.6b">
 <!ENTITY man-md5 "81d96091482b6445cbfa248fadb422b8">

More information about the hlfs-book mailing list