Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/gmp.xml

    r5adc76b rbe5b2e0  
    4343
    4444    <note>
     45      <para>If you are building for 32-bit x86, but you have a CPU which is
     46      capable of running 64-bit code <emphasis>and</emphasis> you have specified
     47      <envar>CFLAGS</envar> in the environment, the configure script will
     48      attempt to configure for 64-bits and fail.
     49      Avoid this by invoking the configure command below with
     50<screen role="nodump"><userinput><parameter>ABI=32</parameter> ./configure ...</userinput></screen></para>
     51    </note>
     52
     53    <note>
    4554      <para>The default settings of GMP produce libraries optimized for
    4655      the host processor.  If libraries suitable for processors less
    4756      capable than the host's CPU are desired, generic libraries can be
    48       created by running the following:
     57      created by appending the <option>--host=none-linux-gnu</option> option
     58      to the <command>configure</command> command.</para>
    4959
    50 <screen role="nodump"><userinput>cp -v configfsf.guess config.guess
    51 cp -v configfsf.sub   config.sub</userinput></screen></para>
     60      <!-- To editors: the configure script says "the none host is obsolete,
     61           use - -disable-assembly", but don't believe it: with the latter
     62           CFLAGS is still automatically set to -march=something.  -->
    5263    </note>
    5364
     
    98109    applications using the gmp libraries with the message "Illegal
    99110    instruction".  In this case, gmp should be reconfigured with the option
    100     --build=aarch64-unknown-linux-gnu and rebuilt.</para></caution>
     111    <option>--host=none-linux-gnu</option> and rebuilt.</para></caution>
    101112
    102     <para>Ensure that all 197 tests in the test suite passed.
     113    <para>Ensure that all 199 tests in the test suite passed.
    103114    Check the results by issuing the following command:</para>
    104115
Note: See TracChangeset for help on using the changeset viewer.