Ignore:
File:
1 edited

Legend:

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

    rdabbced rccb7ecb  
    3333-->
    3434
     35    <note os="n1">
     36      <para>If you are building with a host which has 32-bit user-space with a
     37      64-bit capable CPU, cross-tools GMP will attempt to link with 64-bit
     38      libraries. Add the following variable during <command>configure</command>
     39      to force GMP's ABI: <command>./configure ABI=32</command></para>
     40    </note>
     41
    3542    <para os="a">Prepare GMP for compilation:</para>
    3643
    37 <screen os="b"><userinput>CPPFLAGS=-fexceptions ./configure \
    38     --prefix=/cross-tools --enable-cxx</userinput></screen>
     44<screen os="b"><userinput>./configure --prefix=/cross-tools --enable-cxx \
     45  --disable-static</userinput></screen>
     46
     47    <variablelist os="b1">
     48      <title>The meaning of the new configure options:</title>
     49
     50      <varlistentry>
     51        <term><parameter>--enable-cxx</parameter></term>
     52        <listitem>
     53          <para>This tells GMP to enable C++ support.</para>
     54        </listitem>
     55      </varlistentry>
     56
     57    </variablelist>
    3958
    4059    <para os="c">Compile the package:</para>
Note: See TracChangeset for help on using the changeset viewer.