Author: robert
Date: 2006-12-01 22:51:28 -0700 (Fri, 01 Dec 2006)
New Revision: 918
Modified:
branches/2.4-branch/BOOK/chapter01/changelog.xml
branches/2.4-branch/BOOK/chapter05/binutils-pass1.xml
branches/2.4-branch/BOOK/chapter05/binutils-pass2.xml
branches/2.4-branch/BOOK/chapter06/pwdgroup.xml
branches/2.4-branch/BOOK/general.ent
trunk/BOOK/chapter01/changelog.xml
trunk/BOOK/chapter05/cocoon-toolchain.xml
trunk/BOOK/chapter05/embryo-toolchain.xml
trunk/BOOK/general.ent
Log:
Use 'EXEEXT=-new install-exec-local' to 'make install' ld-new, instead of using
'install ld/ld-new'. This is safer because if --enable-shared is used the
'ld/ld-new' is a script, not a program, and 'ld/.libs/ld-new' is infact the
program. Using 'make install' will make sure we are always installing the
correct 'ld-new' regardless of configure arguments.
Modified: branches/2.4-branch/BOOK/chapter01/changelog.xml
===================================================================
--- branches/2.4-branch/BOOK/chapter01/changelog.xml 2006-11-30 18:35:15 UTC
(rev 917)
+++ branches/2.4-branch/BOOK/chapter01/changelog.xml 2006-12-02 05:51:28 UTC
(rev 918)
@@ -109,6 +109,13 @@
</listitem>
-->
+<listitem><para>December 2nd, 2006 [Robert]: Use 'EXEEXT=-new
install-exec-local'
+to 'make install' ld-new, instead of using 'install ld/ld-new'. This is safer
+because if --enable-shared is used the 'ld/ld-new' is a script, not a program,
+and 'ld/.libs/ld-new' is infact the program. Using 'make install' will make
+sure we are always installing the correct 'ld-new' regardless of configure
+arguments.</para></listitem>
+
<listitem><para>November 29th, 2005 [Robert]: Use --disable-shared in
Binutils-pass1
to avoid crashes after libc is installed.</para></listitem>
Modified: branches/2.4-branch/BOOK/chapter05/binutils-pass1.xml
===================================================================
--- branches/2.4-branch/BOOK/chapter05/binutils-pass1.xml 2006-11-30
18:35:15 UTC (rev 917)
+++ branches/2.4-branch/BOOK/chapter05/binutils-pass1.xml 2006-12-02
05:51:28 UTC (rev 918)
@@ -118,7 +118,7 @@
<screen><userinput>make -C ld clean
make -C ld LIB_PATH=/tools/lib
-install -v ld/ld-new /tools/bin</userinput></screen>
+make -C ld EXEEXT=-new install-exec-local</userinput></screen>
<variablelist>
<title>The meaning of the make parameters:</title>
@@ -145,6 +145,20 @@
</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, resulting in
+ this <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>
+ </listitem>
+ </varlistentry>
+
</variablelist>
</sect2>
Modified: branches/2.4-branch/BOOK/chapter05/binutils-pass2.xml
===================================================================
--- branches/2.4-branch/BOOK/chapter05/binutils-pass2.xml 2006-11-30
18:35:15 UTC (rev 917)
+++ branches/2.4-branch/BOOK/chapter05/binutils-pass2.xml 2006-12-02
05:51:28 UTC (rev 918)
@@ -83,7 +83,7 @@
<screen><userinput>make -C ld clean
make -C ld LIB_PATH=/usr/lib:/lib
-install -v ld/ld-new /tools/bin</userinput></screen>
+make -C ld EXEEXT=-new install-exec-local</userinput></screen>
</sect2>
Modified: branches/2.4-branch/BOOK/chapter06/pwdgroup.xml
===================================================================
--- branches/2.4-branch/BOOK/chapter06/pwdgroup.xml 2006-11-30 18:35:15 UTC
(rev 917)
+++ branches/2.4-branch/BOOK/chapter06/pwdgroup.xml 2006-12-02 05:51:28 UTC
(rev 918)
@@ -43,7 +43,7 @@
<para>The <systemitem class="username">nobody</systemitem> user is
also added so it can be used by testsuites which prefer to run as
an unprivileged user, and can be used later for some BLFS daemons.
- The <systemitem class="username">nobody</systemitem> is given the
+ <systemitem class="username">nobody</systemitem> is given the
user ID, and group ID, 65534, which is the last available digit on
a 16-bit user ID system. Modern Linux systems can support 32-bit
user ID's (4294967295 users), but this is generally not used to retain
Modified: branches/2.4-branch/BOOK/general.ent
===================================================================
--- branches/2.4-branch/BOOK/general.ent 2006-11-30 18:35:15 UTC (rev
917)
+++ branches/2.4-branch/BOOK/general.ent 2006-12-02 05:51:28 UTC (rev
918)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<!ENTITY version "2.4-branch-20061129">
-<!ENTITY releasedate "November 29th, 2006">
+<!ENTITY version "2.4-branch-20061202">
+<!ENTITY releasedate "December 2nd, 2006">
<!ENTITY milestone "1.0">
<!ENTITY lfs-root "http://www.linuxfromscratch.org/">
Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml 2006-11-30 18:35:15 UTC (rev 917)
+++ trunk/BOOK/chapter01/changelog.xml 2006-12-02 05:51:28 UTC (rev 918)
@@ -110,6 +110,13 @@
</listitem>
-->
+<listitem><para>December 2nd, 2006 [Robert]: Use 'EXEEXT=-new
install-exec-local'
+to 'make install' ld-new, instead of using 'install ld/ld-new'. This is safer
+because if --enable-shared is used the 'ld/ld-new' is a script, not a program,
+and 'ld/.libs/ld-new' is infact the program. Using 'make install' will make
+sure we are always installing the correct 'ld-new' regardless of configure
+arguments.</para></listitem>
+
<listitem><para>November 27th, 2005 [Robert]: Removed the gcc specs patch, and
use
sed command instead, to resolve a bug in Binutils test suite.</para></listitem>
Modified: trunk/BOOK/chapter05/cocoon-toolchain.xml
===================================================================
--- trunk/BOOK/chapter05/cocoon-toolchain.xml 2006-11-30 18:35:15 UTC (rev
917)
+++ trunk/BOOK/chapter05/cocoon-toolchain.xml 2006-12-02 05:51:28 UTC (rev
918)
@@ -555,7 +555,7 @@
<screen><userinput>make -C ld clean
make -C ld LIB_PATH=/usr/lib:/lib
-install -v ld/.libs/ld-new /tools/bin</userinput></screen>
+make -C ld EXEEXT=-new install-exec-local</userinput></screen>
</sect2>
Modified: trunk/BOOK/chapter05/embryo-toolchain.xml
===================================================================
--- trunk/BOOK/chapter05/embryo-toolchain.xml 2006-11-30 18:35:15 UTC (rev
917)
+++ trunk/BOOK/chapter05/embryo-toolchain.xml 2006-12-02 05:51:28 UTC (rev
918)
@@ -224,7 +224,7 @@
cp -va stage3-ld/ tools-ld
make -C tools-ld/ clean
make -C tools-ld/ LIB_PATH=/tools/lib CC=/tools/bin/gcc
-install -v tools-ld/ld-new /tools/bin/ld-new</userinput></screen>
+make -C tools-ld/ EXEEXT=-new install-exec-local</userinput></screen>
</sect2>
Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent 2006-11-30 18:35:15 UTC (rev 917)
+++ trunk/BOOK/general.ent 2006-12-02 05:51:28 UTC (rev 918)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<!ENTITY version "SVN-20061127">
-<!ENTITY releasedate "November 27th, 2006">
+<!ENTITY version "SVN-20061202">
+<!ENTITY releasedate "December 2nd, 2006">
<!ENTITY milestone "1.1">
<!ENTITY lfs-root "http://www.linuxfromscratch.org/">
--
http://linuxfromscratch.org/mailman/listinfo/hlfs-book
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page