Ignore:
Timestamp:
04/28/2013 09:11:44 PM (11 years ago)
Author:
Matthew Burgess <matthew@…>
Branches:
7.5-systemd, 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
Children:
3b60741
Parents:
1026c1ee
Message:

Sync with latest trunk updates

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/gcc-pass1.xml

    r1026c1ee r50420218  
    106106<screen><userinput remap="pre">sed -i '/k prot/agcc_cv_libc_provides_ssp=yes' gcc/configure</userinput></screen>
    107107
    108     <para>Do not build the .info files.  They are not needed here and
    109     are broken with the current version of <command>makeinfo</command>.</para>
    110 
    111 <screen><userinput remap="pre">sed -i 's/BUILD_INFO=info/BUILD_INFO=/' gcc/configure</userinput></screen>
    112 
    113108    <para>The GCC documentation recommends building GCC outside of the
    114109    source directory in a dedicated build directory:</para>
     
    119114    <para>Prepare GCC for compilation:</para>
    120115
    121 <screen><userinput remap="configure">../gcc-&gcc-version;/configure         \
    122     --target=$LFS_TGT          \
    123     --prefix=/tools            \
    124     --with-sysroot=$LFS        \
    125     --with-newlib              \
    126     --without-headers          \
    127     --with-local-prefix=/tools \
    128     --with-native-system-header-dir=/tools/include \
    129     --disable-nls              \
    130     --disable-shared           \
    131     --disable-multilib         \
    132     --disable-decimal-float    \
    133     --disable-threads          \
    134     --disable-libmudflap       \
    135     --disable-libssp           \
    136     --disable-libgomp          \
    137     --disable-libquadmath      \
    138     --enable-languages=c       \
     116<screen><userinput remap="configure">../gcc-&gcc-version;/configure                               \
     117    --target=$LFS_TGT                                \
     118    --prefix=/tools                                  \
     119    --with-sysroot=$LFS                              \
     120    --with-newlib                                    \
     121    --without-headers                                \
     122    --with-local-prefix=/tools                       \
     123    --with-native-system-header-dir=/tools/include   \
     124    --disable-nls                                    \
     125    --disable-shared                                 \
     126    --disable-multilib                               \
     127    --disable-decimal-float                          \
     128    --disable-threads                                \
     129    --disable-libatomic                              \
     130    --disable-libgomp                                \
     131    --disable-libitm                                 \
     132    --disable-libmudflap                             \
     133    --disable-libquadmath                            \
     134    --disable-libsanitizer                           \
     135    --disable-libssp                                 \
     136    --disable-libstdc++-v3                           \
     137    --enable-languages=c,c++                         \
    139138    --with-mpfr-include=$(pwd)/../gcc-&gcc-version;/mpfr/src \
    140139    --with-mpfr-lib=$(pwd)/mpfr/src/.libs</userinput></screen>
     
    194193
    195194      <varlistentry>
    196         <term><parameter>--disable-decimal-float, --disable-threads, --disable-libmudflap, --disable-libssp, --disable-libgomp, --disable-libquadmath</parameter></term>
     195        <term><parameter>--disable-decimal-float, --disable-threads,
     196        --disable-libatomic, --disable-libgomp, --disable-libitm,
     197        --disable-libmudflap, --disable-libquadmath, --disable-libsanitizer,
     198        --disable-libssp, --disable-libstdc++-v3</parameter></term>
    197199        <listitem>
    198200          <para>These switches disable support for the decimal floating point
    199           extension, threading, libmudflap, libssp and libgomp and libquadmath
     201          extension, threading, libatomic, libgomp, libitm, libmudflap,
     202          libquadmath, libsanitizer, libssp and the C++ standard library
    200203          respectively. These features will fail to compile when building a
    201204          cross-compiler and are not necessary for the task of cross-compiling
     
    213216
    214217      <varlistentry>
    215         <term><parameter>--enable-languages=c</parameter></term>
    216         <listitem>
    217           <para>This option ensures that only the C compiler is built.
    218           This is the only language needed now.</para>
     218        <term><parameter>--enable-languages=c,c++</parameter></term>
     219        <listitem>
     220          <para>This option ensures that only the C and C++ compilers are built.
     221          These are the only languages needed now.</para>
    219222        </listitem>
    220223      </varlistentry>
Note: See TracChangeset for help on using the changeset viewer.