r922 - branches/2.4-branch/BOOK/chapter05

robert at linuxfromscratch.org robert at linuxfromscratch.org
Fri Dec 1 23:15:37 PST 2006


Author: robert
Date: 2006-12-02 00:15:36 -0700 (Sat, 02 Dec 2006)
New Revision: 922

Modified:
   branches/2.4-branch/BOOK/chapter05/binutils-pass1.xml
Log:
use EXEEXT when building ld-new too

Modified: branches/2.4-branch/BOOK/chapter05/binutils-pass1.xml
===================================================================
--- branches/2.4-branch/BOOK/chapter05/binutils-pass1.xml	2006-12-02 07:07:18 UTC (rev 921)
+++ branches/2.4-branch/BOOK/chapter05/binutils-pass1.xml	2006-12-02 07:15:36 UTC (rev 922)
@@ -117,7 +117,7 @@
     later on:</para>
 
 <screen><userinput>make -C ld clean
-make -C ld LIB_PATH=/tools/lib
+make -C ld LIB_PATH=/tools/lib EXEEXT=-new
 make -C ld EXEEXT=-new install-exec-local</userinput></screen>
 
     <variablelist>
@@ -141,23 +141,23 @@
           allows us to override the default value and point it to the
           temporary tools location. The value of this variable specifies
           the linker's default library search path. This preparation is
-          used later in the chapter.</para>
+          used later in the chapter. The <envar>EXEEXT</envar> Makefile
+          variable specifies the executable extention suffix to be added
+          to the <command>ld</command> program, so that the
+          <command>ld</command> program we installed earlier is not
+          replaced. Setting the <envar>EXEEXT</envar> variable is
+          equivilent to using the <option>--program-suffix</option>
+          with <command>configure</command>. This results in this new
+          <command>ld</command> program being named <command>ld-new</command>.</para>
         </listitem>
       </varlistentry>
 
       <varlistentry>
         <term><parameter>-C ld EXEEXT=-new install-exec-local</parameter></term>
         <listitem>
-          <para>The <envar>EXEEXT</envar> Makefile variable specifies
-          the executable extention suffix to be added to the
-          <command>ld</command> program, so that the <command>ld</command>
-          program we installed earlier is not replaced. Setting the
-          <envar>EXEEXT</envar> variable is equivilent to using the
-          <option>--program-suffix</option> with <command>configure</command>.
-          This results in this new <command>ld</command> program being named
-          <command>ld-new</command>. The <option>install-exec-local</option>
-          option tells <command>make</command> to only install the
-          executables, and not the manual pages or anything else.</para>
+          <para>The <option>install-exec-local</option> option tells
+          <command>make</command> to only install the executables, and
+          not the manual pages or anything else.</para>
         </listitem>
       </varlistentry>
 




More information about the hlfs-book mailing list