[lfs-book] r9778 - in trunk/BOOK: . chapter01 chapter03 chapter05

matthew at linuxfromscratch.org matthew at linuxfromscratch.org
Wed Mar 14 13:50:21 PDT 2012


Author: matthew
Date: 2012-03-14 14:50:17 -0600 (Wed, 14 Mar 2012)
New Revision: 9778

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter01/whatsnew.xml
   trunk/BOOK/chapter03/patches.xml
   trunk/BOOK/chapter05/gcc-pass1.xml
   trunk/BOOK/patches.ent
Log:
Remove GCC's cross-compile patch as it isn't required.

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml	2012-03-14 20:43:51 UTC (rev 9777)
+++ trunk/BOOK/chapter01/changelog.xml	2012-03-14 20:50:17 UTC (rev 9778)
@@ -41,6 +41,10 @@
       <para>2012-03-14</para>
       <itemizedlist>
          <listitem>
+           <para>[matthew] - Remove GCC's cross-compile patch as it isn't
+           required.</para>
+         </listitem>
+         <listitem>
            <para>[matthew] - Apply new upstream patches for Bash. Fixes
            <ulink url="&lfs-ticket-root;3037">#3037</ulink>.</para>
          </listitem>

Modified: trunk/BOOK/chapter01/whatsnew.xml
===================================================================
--- trunk/BOOK/chapter01/whatsnew.xml	2012-03-14 20:43:51 UTC (rev 9777)
+++ trunk/BOOK/chapter01/whatsnew.xml	2012-03-14 20:50:17 UTC (rev 9778)
@@ -224,10 +224,6 @@
     </listitem>
 
     <listitem>
-      <para>&gcc-crosscompile-patch;</para>
-    </listitem>
-
-    <listitem>
       <para>&gcc-startfiles-patch;</para>
     </listitem>
 

Modified: trunk/BOOK/chapter03/patches.xml
===================================================================
--- trunk/BOOK/chapter03/patches.xml	2012-03-14 20:43:51 UTC (rev 9777)
+++ trunk/BOOK/chapter03/patches.xml	2012-03-14 20:50:17 UTC (rev 9778)
@@ -59,14 +59,6 @@
     </varlistentry>
 
     <varlistentry>
-      <term>GCC Cross Compile Patch - <token>&gcc-crosscompile-patch-size;</token>:</term>
-      <listitem>
-        <para>Download: <ulink url="&patches-root;&gcc-crosscompile-patch;"/></para>
-        <para>MD5 sum: <literal>&gcc-crosscompile-patch-md5;</literal></para>
-      </listitem>
-    </varlistentry>
-
-    <varlistentry>
       <term>GCC Startfiles Fix Patch - <token>&gcc-startfiles-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink url="&patches-root;&gcc-startfiles-patch;"/></para>

Modified: trunk/BOOK/chapter05/gcc-pass1.xml
===================================================================
--- trunk/BOOK/chapter05/gcc-pass1.xml	2012-03-14 20:43:51 UTC (rev 9777)
+++ trunk/BOOK/chapter05/gcc-pass1.xml	2012-03-14 20:50:17 UTC (rev 9778)
@@ -62,12 +62,6 @@
 tar -zxf ../mpc-&mpc-version;.tar.gz
 mv -v mpc-&mpc-version; mpc</userinput></screen>
 
-<para>Apply a patch that will allow the building of the libiberty and zlib
-target libraries to be disabled as these do not build correctly in a
-cross-compiled environment:</para>
-
-<screen><userinput remap="pre">patch -Np1 -i ../&gcc-crosscompile-patch;</userinput></screen>
-
     <para>The GCC documentation recommends building GCC outside of the
     source directory in a dedicated build directory:</para>
 
@@ -88,8 +82,6 @@
     --disable-libssp           \
     --disable-libgomp          \
     --disable-libquadmath      \
-    --disable-target-libiberty \
-    --disable-target-zlib      \
     --enable-languages=c       \
     --without-ppl              \
     --without-cloog            \
@@ -109,13 +101,13 @@
       </varlistentry>
 
       <varlistentry>
-        <term><parameter>--disable-decimal-float, --disable-threads, --disable-libmudflap, --disable-libssp, --disable-libgomp, --disable-libquadmath --disable-target-libiberty --disable-target-zlib</parameter></term>
+        <term><parameter>--disable-decimal-float, --disable-threads, --disable-libmudflap, --disable-libssp, --disable-libgomp, --disable-libquadmath</parameter></term>
         <listitem>
           <para>These switches disable support for the decimal floating point
-          extension, threading, libmudflap, libssp and libgomp, libquadmath,
-          libiberty and zlib respectively. These features will fail to compile
-          when building a cross-compiler and are not necessary for the task of
-          cross-compiling the temporary libc.</para>
+          extension, threading, libmudflap, libssp and libgomp and libquadmath
+          respectively. These features will fail to compile when building a
+          cross-compiler and are not necessary for the task of cross-compiling
+          the temporary libc.</para>
         </listitem>
       </varlistentry>
 

Modified: trunk/BOOK/patches.ent
===================================================================
--- trunk/BOOK/patches.ent	2012-03-14 20:43:51 UTC (rev 9777)
+++ trunk/BOOK/patches.ent	2012-03-14 20:50:17 UTC (rev 9778)
@@ -31,14 +31,11 @@
 <!ENTITY flex-gcc-patch-size "1 KB">
 
 
-<!ENTITY gcc-crosscompile-patch "gcc-&gcc-version;-cross_compile-1.patch">
-<!ENTITY gcc-crosscompile-patch-md5 "1b7886a7a4df3a48617e88a481862264">
-<!ENTITY gcc-crosscompile-patch-size "1.8 KB">
-
 <!ENTITY gcc-startfiles-patch "gcc-&gcc-version;-startfiles_fix-1.patch">
 <!ENTITY gcc-startfiles-patch-md5 "799ef1971350d2e3c794f2123f247cc6">
 <!ENTITY gcc-startfiles-patch-size "1.5 KB">
 
+
 <!ENTITY glibc-fixes-patch "glibc-&glibc-version;-fixes-1.patch">
 <!ENTITY glibc-fixes-patch-md5 "13bdfb7db1654d9c3d7934d24479a6c4">
 <!ENTITY glibc-fixes-patch-size "5.5 KB">




More information about the lfs-book mailing list