aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gmp.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2017-08-17 02:57:47 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2017-08-17 02:57:47 +0000
commitf63c0c36d496f1aca86c91a18e01773b87f91009 (patch)
tree45bc6faefb52da32894730a834547b62c4c3d3c8 /chapter06/gmp.xml
parent0d4a4f5cf721075c1352e092f9e75c3bbaad9f69 (diff)
Add a note to gmp that shows how to create genereic gmp libraries
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11284 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/gmp.xml')
-rw-r--r--chapter06/gmp.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/chapter06/gmp.xml b/chapter06/gmp.xml
index 2950b6715..d7e13e256 100644
--- a/chapter06/gmp.xml
+++ b/chapter06/gmp.xml
@@ -50,6 +50,16 @@
<screen role="nodump"><userinput><parameter>ABI=32</parameter> ./configure ...</userinput></screen></para>
</note>
+ <note>
+ <para>The default settings of GMP produce libraries optimized for
+ the host processor. If libraries suitable for processors less
+ capable than the host's CPU are desired, generic libraries can be
+ created by running the following:
+
+<screen role="nodump"><userinput>cp -v configfsf.guess config.guess
+cp -v configfsf.sub config.sub</userinput></screen></para>
+ </note>
+
<para>Prepare GMP for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr \