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


Ignore:
Timestamp:
Oct 15, 2013, 1:30:49 PM (10 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/common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 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>
Note: See TracChangeset for help on using the changeset viewer.