Ignore:
Timestamp:
03/30/2011 08:24:53 PM (13 years ago)
Author:
Matthew Burgess <matthew@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
d404149
Parents:
2285de1
Message:

Upgrade to GCC-4.6.0. Fixes #2847.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9493 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/gcc-pass1.xml

    r2285de1 r8aad4385  
    5757mv -v mpc-&mpc-version; mpc</userinput></screen>
    5858
     59<para>Apply a patch that will allow the building of the libiberty and zlib
     60target libraries to be disabled as these do not build correctly in a
     61cross-compiled environment:</para>
     62
     63<screen><userinput remap="pre">patch -Np1 -i ../&gcc-crosscompile-patch;</userinput></screen>
     64
    5965    <para>The GCC documentation recommends building GCC outside of the
    6066    source directory in a dedicated build directory:</para>
     
    7076    --disable-decimal-float --disable-threads \
    7177    --disable-libmudflap --disable-libssp \
    72     --disable-libgomp --enable-languages=c \
    73     --with-gmp-include=$(pwd)/gmp --with-gmp-lib=$(pwd)/gmp/.libs \
    74     --without-ppl --without-cloog</userinput></screen>
     78    --disable-libgomp --disable-libquadmath \
     79    --disable-target-libiberty --disable-target-zlib \
     80    --enable-languages=c --without-ppl --without-cloog</userinput></screen>
    7581
    7682    <variablelist>
     
    8793
    8894      <varlistentry>
    89         <term><parameter>--disable-decimal-float, --disable-threads, --disable-libmudflap, --disable-libssp, --disable-libgomp</parameter></term>
     95        <term><parameter>--disable-decimal-float, --disable-threads, --disable-libmudflap, --disable-libssp, --disable-libgomp, --disable-libquadmath --disable-target-libiberty --disable-target-zlib</parameter></term>
    9096        <listitem>
    91           <para>These switches disable support for the decimal floating point extension,
    92           threading, libmudflap, libssp and libgomp respectively. These features will fail
    93           to compile when building a cross-compiler and are not necessary for the task of
     97          <para>These switches disable support for the decimal floating point
     98          extension, threading, libmudflap, libssp and libgomp, libquadmath,
     99          libiberty and zlib respectively. These features will fail to compile
     100          when building a cross-compiler and are not necessary for the task of
    94101          cross-compiling the temporary libc.</para>
    95102        </listitem>
     
    109116          <para>This option ensures that only the C compiler is built.
    110117          This is the only language needed now.</para>
    111         </listitem>
    112       </varlistentry>
    113 
    114       <varlistentry>
    115         <term><parameter>--with-gmp-include=...</parameter></term>
    116         <listitem>
    117           <para>This option tells GCC where the GMP headers are located.</para>
    118         </listitem>
    119       </varlistentry>
    120 
    121       <varlistentry>
    122         <term><parameter>--with-gmp-lib=...</parameter></term>
    123         <listitem>
    124           <para>This option tells GCC where the GMP library is located.</para>
    125118        </listitem>
    126119      </varlistentry>
Note: See TracChangeset for help on using the changeset viewer.