Changes in chapter08/gmp.xml [be5b2e0:5adc76b]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/gmp.xml
rbe5b2e0 r5adc76b 43 43 44 44 <note> 45 <para>If you are building for 32-bit x86, but you have a CPU which is46 capable of running 64-bit code <emphasis>and</emphasis> you have specified47 <envar>CFLAGS</envar> in the environment, the configure script will48 attempt to configure for 64-bits and fail.49 Avoid this by invoking the configure command below with50 <screen role="nodump"><userinput><parameter>ABI=32</parameter> ./configure ...</userinput></screen></para>51 </note>52 53 <note>54 45 <para>The default settings of GMP produce libraries optimized for 55 46 the host processor. If libraries suitable for processors less 56 47 capable than the host's CPU are desired, generic libraries can be 57 created by appending the <option>--host=none-linux-gnu</option> option 58 to the <command>configure</command> command.</para> 48 created by running the following: 59 49 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. --> 50 <screen role="nodump"><userinput>cp -v configfsf.guess config.guess 51 cp -v configfsf.sub config.sub</userinput></screen></para> 63 52 </note> 64 53 … … 109 98 applications using the gmp libraries with the message "Illegal 110 99 instruction". In this case, gmp should be reconfigured with the option 111 <option>--host=none-linux-gnu</option>and rebuilt.</para></caution>100 --build=aarch64-unknown-linux-gnu and rebuilt.</para></caution> 112 101 113 <para>Ensure that all 19 9tests in the test suite passed.102 <para>Ensure that all 197 tests in the test suite passed. 114 103 Check the results by issuing the following command:</para> 115 104
Note:
See TracChangeset
for help on using the changeset viewer.