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