Changeset 8a77fbd in clfs-embedded for BOOK/cross-tools/common


Ignore:
Timestamp:
Oct 14, 2013, 8:07:12 AM (11 years ago)
Author:
Andrew Bradford <andrew@…>
Branches:
master
Children:
2b9574b
Parents:
90309a2
git-author:
Andrew Bradford <andrew@…> (10/09/13 10:53:47)
git-committer:
Andrew Bradford <andrew@…> (10/14/13 08:07:12)
Message:

gcc-static: Do mpfr, gmp, and mpc, too

Remove MPFR, GMP, and MPC steps. Place each into GCC static build
directory as that's an alternate method and reduces the number of steps.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cross-tools/common/gcc-static.xml

    r90309a2 r8a77fbd  
    3030    and no Threads</title>
    3131
     32    <para os="b">GCC requires the GMP, MPFR, and MPC packages to either be
     33    present on the host or to be present in source form within the gcc source
     34    tree.  Unpack these into the GCC directory after unpacking GCC:</para>
     35
     36<screen os="ba"><userinput>tar xf ../mpfr-&mpfr-version;.tar.bz2
     37mv -v mpfr-&mpfr-version; mpfr
     38tar xf ../gmp-&gmp-version;.tar.bz2
     39mv -v gmp-&gmp-version; gmp
     40tar xf ../mpc-&mpc-version;.tar.gz
     41mv -v mpc-&mpc-version; mpc</userinput></screen>
     42
    3243    <para os="c">The GCC documentation recommends building GCC outside of the source
    3344    directory in a dedicated build directory:</para>
     
    4455  --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \
    4556  --with-sysroot=${CLFS} --disable-nls  --disable-shared \
    46   --with-mpfr=${CLFS}/cross-tools --with-gmp=${CLFS}/cross-tools \
    47   --with-mpc=${CLFS}/cross-tools --without-headers --with-newlib \
     57  --without-headers --with-newlib \
    4858  --disable-decimal-float --disable-libgomp --disable-libmudflap \
    4959  --disable-libssp --disable-threads --enable-languages=c \
     
    111121        <listitem>
    112122          <para>Disables the creation of the shared libraries.</para>
    113         </listitem>
    114       </varlistentry>
    115 
    116       <varlistentry os="af8">
    117         <term><parameter>--with-mpfr=${CLFS}/cross-tools</parameter></term>
    118         <listitem>
    119           <para>Tells configure where to find the
    120           <filename class="directory">lib</filename> and
    121           <filename class="directory">include</filename> directories
    122           that contain MPFR which was built earlier.</para>
    123         </listitem>
    124       </varlistentry>
    125 
    126       <varlistentry os="af9">
    127         <term><parameter>--with-gmp=${CLFS}/cross-tools</parameter></term>
    128         <listitem>
    129           <para>Tells configure where to find the
    130           <filename class="directory">lib</filename> and
    131           <filename class="directory">include</filename> directories
    132           that contain GMP which was built earlier.</para>
    133         </listitem>
    134       </varlistentry>
    135 
    136       <varlistentry os="af10">
    137         <term><parameter>--with-mpc=${CLFS}/cross-tools</parameter></term>
    138         <listitem>
    139           <para>Tells configure where to find the
    140           <filename class="directory">lib</filename> and
    141           <filename class="directory">include</filename> directories
    142           that contain MPC which was built earlier.</para>
    143123        </listitem>
    144124      </varlistentry>
Note: See TracChangeset for help on using the changeset viewer.