r1299 - in trunk/BOOK: . chapter06

robert at linuxfromscratch.org robert at linuxfromscratch.org
Fri Jan 4 07:52:21 PST 2008


Author: robert
Date: 2008-01-04 08:52:21 -0700 (Fri, 04 Jan 2008)
New Revision: 1299

Modified:
   trunk/BOOK/chapter06/butterfly-toolchain.xml
   trunk/BOOK/chapter06/gcc-libssp.xml
   trunk/BOOK/chapter06/gettext-libintl.xml
   trunk/BOOK/general.ent
Log:
fix the uclibc instructions a bit more

Modified: trunk/BOOK/chapter06/butterfly-toolchain.xml
===================================================================
--- trunk/BOOK/chapter06/butterfly-toolchain.xml	2007-12-31 01:53:43 UTC (rev 1298)
+++ trunk/BOOK/chapter06/butterfly-toolchain.xml	2008-01-04 15:52:21 UTC (rev 1299)
@@ -49,6 +49,12 @@
 cd butterfly-toolchain/
 ln -vs binutils-&binutils-version;/{bfd,binutils,gas,gprof,ld,opcodes} .</userinput></screen>
 
+    <para condition="uclibc">The next command adjusts the location of the
+    default dynamic linker so it points to uClibc's:</para>
+
+<screen condition="uclibc"><userinput>sed 's at ld-linux.so.2@ld-uClibc.so.0@' \
+    -i.orig gcc/config/i386/linux.h</userinput></screen>
+
     <para>This patch is from the <quote>binutils-2_17-branch</quote> CVS
     branch. This branch is open for bug fixes only, and does not add any
     new features. Apply this patch with the following command:</para>

Modified: trunk/BOOK/chapter06/gcc-libssp.xml
===================================================================
--- trunk/BOOK/chapter06/gcc-libssp.xml	2007-12-31 01:53:43 UTC (rev 1298)
+++ trunk/BOOK/chapter06/gcc-libssp.xml	2008-01-04 15:52:21 UTC (rev 1299)
@@ -26,7 +26,8 @@
 
 <screen><userinput>mkdir -v libssp/build
 cd libssp/build
-../configure --prefix=/usr</userinput></screen>
+env CC="gcc -nointl -fno-stack-protector -U_FORTIFY_SOURCE" \
+    ../configure --prefix=/usr</userinput></screen>
 
     <para>Compile the package:</para>
 

Modified: trunk/BOOK/chapter06/gettext-libintl.xml
===================================================================
--- trunk/BOOK/chapter06/gettext-libintl.xml	2007-12-31 01:53:43 UTC (rev 1298)
+++ trunk/BOOK/chapter06/gettext-libintl.xml	2008-01-04 15:52:21 UTC (rev 1299)
@@ -25,9 +25,9 @@
     <para>Prepare Libintl for compilation:</para>
 
 <screen><userinput>cd gettext-runtime/
-./configure --prefix=/usr --libdir=/lib \
-    --with-included-gettext --disable-static \
-    --enable-relocatable --disable-rpath</userinput></screen>
+env CC="gcc -nointl -fno-stack-protector -U_FORTIFY_SOURCE" \
+    ./configure --prefix=/usr --libdir=/lib \
+    --with-included-gettext --disable-static</userinput></screen>
 
     <variablelist>
       <title>The meaning of the configure option:</title>
@@ -50,7 +50,6 @@
 
 <screen><userinput>make -C intl/ install
 rm -v /lib/libintl.so
-mv -v /lib/libintl.la /usr/lib
 ln -vsf ../../lib/libintl.so.8 /usr/lib/libintl.so</userinput></screen>
 
   </sect2>

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2007-12-31 01:53:43 UTC (rev 1298)
+++ trunk/BOOK/general.ent	2008-01-04 15:52:21 UTC (rev 1299)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<!ENTITY version "SVN-20071230">
-<!ENTITY releasedate "December 30th, 2007">
+<!ENTITY version "SVN-20080104">
+<!ENTITY releasedate "January 4rth, 2008">
 <!ENTITY milestone "0.4">
 
 <!ENTITY lfs-root "http://www.linuxfromscratch.org/">




More information about the hlfs-book mailing list