1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 | ]>
|
---|
7 |
|
---|
8 | <sect1 id="ch-system-gmp-n32" role="wrap">
|
---|
9 | <?dbhtml filename="gmp-n32.html"?>
|
---|
10 |
|
---|
11 | <title>GMP-&gmp-version; N32 Libraries</title>
|
---|
12 |
|
---|
13 | <indexterm zone="ch-system-gmp-n32">
|
---|
14 | <primary sortas="a-GMP">GMP</primary>
|
---|
15 | <secondary>N32</secondary>
|
---|
16 | </indexterm>
|
---|
17 |
|
---|
18 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
19 | href="../common/gmp.xml"
|
---|
20 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
21 |
|
---|
22 | <sect2 role="installation">
|
---|
23 | <title>Installation of GMP</title>
|
---|
24 |
|
---|
25 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
26 | href="../common/gmp.xml"
|
---|
27 | xpointer="xpointer(//*[@os='p1'])"/>
|
---|
28 |
|
---|
29 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
30 | href="../common/gmp.xml"
|
---|
31 | xpointer="xpointer(//*[@os='p2'])"/>
|
---|
32 |
|
---|
33 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
34 | href="../common/gmp.xml"
|
---|
35 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
36 |
|
---|
37 | <screen os="b"><userinput>CC="gcc -Wl,-rpath-link,/lib32 -isystem /usr/include ${BUILDN32}" \
|
---|
38 | CXX="g++ -Wl,-rpath-link,/lib32 -isystem /usr/include ${BUILDN32}" \
|
---|
39 | ./configure --prefix=/usr \
|
---|
40 | --libdir=/usr/lib32 --enable-cxx \
|
---|
41 | --enable-mpbsd</userinput></screen>
|
---|
42 |
|
---|
43 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
44 | href="../common/gmp.xml"
|
---|
45 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
46 |
|
---|
47 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
48 | href="../common/gmp.xml"
|
---|
49 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
50 |
|
---|
51 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
52 | href="../common/gmp.xml"
|
---|
53 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
54 |
|
---|
55 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
56 | href="../common/gmp.xml"
|
---|
57 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
58 |
|
---|
59 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
60 | href="../common/gmp.xml"
|
---|
61 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
62 |
|
---|
63 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
64 | href="../common/gmp.xml"
|
---|
65 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
66 |
|
---|
67 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
68 | href="../common/gmp.xml"
|
---|
69 | xpointer="xpointer(//*[@os='i'])"/>
|
---|
70 |
|
---|
71 | <para os="j">Create the N32 header file:</para>
|
---|
72 |
|
---|
73 | <screen os="k"><userinput>mv -v /usr/include/gmp{,-n32}.h</userinput></screen>
|
---|
74 |
|
---|
75 | </sect2>
|
---|
76 |
|
---|
77 | <sect2 role="content">
|
---|
78 | <title/>
|
---|
79 |
|
---|
80 | <para>Details on this package are located in <xref
|
---|
81 | linkend="contents-gmp" role="."/></para>
|
---|
82 |
|
---|
83 | </sect2>
|
---|
84 |
|
---|
85 | </sect1>
|
---|