Changes in chapter08/gmp.xml [5adc76b:be5b2e0]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/gmp.xml
r5adc76b rbe5b2e0 43 43 44 44 <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> 45 54 <para>The default settings of GMP produce libraries optimized for 46 55 the host processor. If libraries suitable for processors less 47 56 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> 49 59 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. --> 52 63 </note> 53 64 … … 98 109 applications using the gmp libraries with the message "Illegal 99 110 instruction". In this case, gmp should be reconfigured with the option 100 --build=aarch64-unknown-linux-gnuand rebuilt.</para></caution>111 <option>--host=none-linux-gnu</option> and rebuilt.</para></caution> 101 112 102 <para>Ensure that all 19 7tests in the test suite passed.113 <para>Ensure that all 199 tests in the test suite passed. 103 114 Check the results by issuing the following command:</para> 104 115
Note:
See TracChangeset
for help on using the changeset viewer.