Sfoglia il codice sorgente

Remove GCC's cross-compile patch as it isn't required.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9778 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess 13 anni fa
parent
commit
8ab73858c4
5 ha cambiato i file con 10 aggiunte e 29 eliminazioni
  1. 4 0
      chapter01/changelog.xml
  2. 0 4
      chapter01/whatsnew.xml
  3. 0 8
      chapter03/patches.xml
  4. 5 13
      chapter05/gcc-pass1.xml
  5. 1 4
      patches.ent

+ 4 - 0
chapter01/changelog.xml

@@ -40,6 +40,10 @@
     <listitem>
       <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>

+ 0 - 4
chapter01/whatsnew.xml

@@ -223,10 +223,6 @@
       <para>&bash-fixes-patch;</para>
     </listitem>
 
-    <listitem>
-      <para>&gcc-crosscompile-patch;</para>
-    </listitem>
-
     <listitem>
       <para>&gcc-startfiles-patch;</para>
     </listitem>

+ 0 - 8
chapter03/patches.xml

@@ -58,14 +58,6 @@
       </listitem>
     </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>

+ 5 - 13
chapter05/gcc-pass1.xml

@@ -62,12 +62,6 @@ mv -v gmp-&gmp-version; gmp
 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 @@ cd ../gcc-build</userinput></screen>
     --disable-libssp           \
     --disable-libgomp          \
     --disable-libquadmath      \
-    --disable-target-libiberty \
-    --disable-target-zlib      \
     --enable-languages=c       \
     --without-ppl              \
     --without-cloog            \
@@ -109,13 +101,13 @@ cd ../gcc-build</userinput></screen>
       </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>
 

+ 1 - 4
patches.ent

@@ -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">