Changeset 5f18bea in clfs-embedded for BOOK/cross-tools


Ignore:
Timestamp:
Oct 15, 2013, 1:30:49 PM (11 years ago)
Author:
Andrew Bradford <andrew@…>
Branches:
master
Children:
94e2400
Parents:
113a63a
Message:

gcc: Add --with-mpfr directives to configure

Such that in-tree mpfr can be found. Without, will search the host and
that would potentially defeat the purpose of putting mpfr in the gcc
tree.

Location:
BOOK/cross-tools
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cross-tools/arm/gcc-final.xml

    r113a63a r5f18bea  
    6969  --disable-libmudflap \
    7070  --disable-multilib \
     71  --with-mpfr-include=$(pwd)/../gcc-&gcc-version;/mpfr/src \
     72  --with-mpfr-lib=$(pwd)/mpfr/src/.libs \
    7173  --with-arch=${CLFS_ARM_ARCH} \
    7274  --with-mode=${CLFS_ARM_MODE} \
  • BOOK/cross-tools/arm/gcc-static.xml

    r113a63a r5f18bea  
    7575  --enable-languages=c \
    7676  --disable-multilib \
     77  --with-mpfr-include=$(pwd)/../gcc-&gcc-version;/mpfr/src \
     78  --with-mpfr-lib=$(pwd)/mpfr/src/.libs \
    7779  --with-arch=${CLFS_ARM_ARCH} \
    7880  --with-mode=${CLFS_ARM_MODE} \
  • BOOK/cross-tools/common/gcc-final.xml

    r113a63a r5f18bea  
    7373  --with-gmp=${CLFS}/cross-tools \
    7474  --with-mpc=${CLFS}/cross-tools \
    75   --disable-multilib</userinput></screen>
     75  --disable-multilib \
     76  --with-mpfr-include=$(pwd)/../gcc-&gcc-version;/mpfr/src \
     77  --with-mpfr-lib=$(pwd)/mpfr/src/.libs</userinput></screen>
    7678
    7779    <variablelist os="af">
  • BOOK/cross-tools/common/gcc-static.xml

    r113a63a r5f18bea  
    7373  --disable-threads \
    7474  --enable-languages=c \
    75   --disable-multilib</userinput></screen>
     75  --disable-multilib \
     76  --with-mpfr-include=$(pwd)/../gcc-&gcc-version;/mpfr/src \
     77  --with-mpfr-lib=$(pwd)/mpfr/src/.libs</userinput></screen>
    7678
    7779    <variablelist os="af">
     
    220222      </varlistentry>
    221223
    222     <varlistentry os="af21">
    223       <term><parameter>--disable-multilib</parameter></term>
    224       <listitem>
    225         <para>This option specifies that multiple target libraries should
    226         not be built.</para>
    227       </listitem>
    228     </varlistentry>
     224      <varlistentry os="af21">
     225        <term><parameter>--disable-multilib</parameter></term>
     226        <listitem>
     227          <para>This option specifies that multiple target libraries should
     228          not be built.</para>
     229        </listitem>
     230      </varlistentry>
     231
     232      <varlistentry os="af22">
     233        <term><parameter>--with-mpfr-include=$(pwd)/../gcc-&gcc-version;/mpfr/src</parameter></term>
     234        <listitem>
     235          <para>Tells configure how to find the mpfr headers.</para>
     236        </listitem>
     237      </varlistentry>
     238
     239      <varlistentry os="af23">
     240        <term><parameter>--with-mpfr-lib=$(pwd)/mpfr/src/.libs</parameter></term>
     241        <listitem>
     242          <para>Tells configure to use the mpfr libraries built within the GCC
     243            build directory.  This happens automatically but is needed to
     244            prevent GCC from searching the host's normal library paths.</para>
     245        </listitem>
     246      </varlistentry>
    229247
    230248    </variablelist>
  • BOOK/cross-tools/mips/gcc-final.xml

    r113a63a r5f18bea  
    6969  --disable-libmudflap \
    7070  --disable-multilib \
     71  --with-mpfr-include=$(pwd)/../gcc-&gcc-version;/mpfr/src \
     72  --with-mpfr-lib=$(pwd)/mpfr/src/.libs \
    7173  --with-abi=${CLFS_ABI} \
    7274  --with-arch=mips${CLFS_MIPS_LEVEL} \
  • BOOK/cross-tools/mips/gcc-static.xml

    r113a63a r5f18bea  
    7575  --enable-languages=c \
    7676  --disable-multilib \
     77  --with-mpfr-include=$(pwd)/../gcc-&gcc-version;/mpfr/src \
     78  --with-mpfr-lib=$(pwd)/mpfr/src/.libs \
    7779  --with-abi=${CLFS_ABI} \
    7880  --with-arch=mips${CLFS_MIPS_LEVEL} \
  • BOOK/cross-tools/x86/gcc-final.xml

    r113a63a r5f18bea  
    6969  --disable-libmudflap \
    7070  --disable-multilib \
     71  --with-mpfr-include=$(pwd)/../gcc-&gcc-version;/mpfr/src \
     72  --with-mpfr-lib=$(pwd)/mpfr/src/.libs \
    7173  --with-arch=${CLFS_CPU}</userinput></screen>
    7274
  • BOOK/cross-tools/x86/gcc-static.xml

    r113a63a r5f18bea  
    7575  --enable-languages=c \
    7676  --disable-multilib \
     77  --with-mpfr-include=$(pwd)/../gcc-&gcc-version;/mpfr/src \
     78  --with-mpfr-lib=$(pwd)/mpfr/src/.libs \
    7779  --with-arch=${CLFS_CPU}</userinput></screen>
    7880
Note: See TracChangeset for help on using the changeset viewer.