diff options
Diffstat (limited to 'chapter06/gmp.xml')
-rw-r--r-- | chapter06/gmp.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chapter06/gmp.xml b/chapter06/gmp.xml index 27c413df9..7bad38fa3 100644 --- a/chapter06/gmp.xml +++ b/chapter06/gmp.xml @@ -50,6 +50,11 @@ <screen role="nodump"><userinput><parameter>ABI=32</parameter> ./configure ...</userinput></screen></para> </note> + <para>First, fix a minor error noted on the upstream web page:</para> + +<screen><userinput remap="pre"> sed -i 's/np + dn, qn/& - dn/' mpn/generic/dcpi1_bdiv_q.c</userinput></screen> + + <para>Prepare GMP for compilation:</para> <screen><userinput remap="configure">./configure --prefix=/usr --enable-cxx --enable-mpbsd</userinput></screen> |