aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2012-03-14 20:50:17 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2012-03-14 20:50:17 +0000
commit8ab73858c4b0581b0721cefca45dd5d62c093192 (patch)
tree33aebd2104cb3827f392e978b1cfcbeec9e22f86 /chapter05
parent088d8862924b1b5a6518f8286d64cf1ab162c568 (diff)
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
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/gcc-pass1.xml18
1 files changed, 5 insertions, 13 deletions
diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml
index d3efd71d6..532bbae36 100644
--- a/chapter05/gcc-pass1.xml
+++ b/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>