[6a043e2] | 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-32" role="wrap">
|
---|
| 9 | <?dbhtml filename="gmp.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>GMP-&gmp-version; 32 Bit Libraries</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-system-gmp-32">
|
---|
| 14 | <primary sortas="a-GMP">MPFR</primary>
|
---|
| 15 | <secondary>32 Bit</secondary>
|
---|
| 16 | </indexterm>
|
---|
| 17 |
|
---|
[dabbced] | 18 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[6a043e2] | 19 | href="../common/gmp.xml"
|
---|
| 20 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
| 21 |
|
---|
| 22 | <sect2 role="installation">
|
---|
| 23 | <title>Installation of GMP</title>
|
---|
| 24 |
|
---|
[8cfdc18] | 25 | <!--
|
---|
[dabbced] | 26 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[be71788] | 27 | href="../common/gmp.xml"
|
---|
| 28 | xpointer="xpointer(//*[@os='p1'])"/>
|
---|
| 29 |
|
---|
[dabbced] | 30 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[be71788] | 31 | href="../common/gmp.xml"
|
---|
| 32 | xpointer="xpointer(//*[@os='p2'])"/>
|
---|
[8cfdc18] | 33 | -->
|
---|
[be71788] | 34 |
|
---|
[dabbced] | 35 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[616b1809] | 36 | href="../common/gmp.xml"
|
---|
| 37 | xpointer="xpointer(//*[@os='n1'])"/>
|
---|
| 38 |
|
---|
[dabbced] | 39 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[6a043e2] | 40 | href="../common/gmp.xml"
|
---|
| 41 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
| 42 |
|
---|
[3ed0369] | 43 | <screen os="b"><userinput>CC="gcc -isystem /usr/include ${BUILD32}" \
|
---|
[b6831b6] | 44 | CXX="g++ -isystem /usr/include ${BUILD32}" \
|
---|
| 45 | LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib ${BUILD32}" \
|
---|
[48da7c25] | 46 | ABI=32 ./configure --prefix=/usr --enable-cxx</userinput></screen>
|
---|
[6a043e2] | 47 |
|
---|
[dabbced] | 48 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[6a043e2] | 49 | href="../common/gmp.xml"
|
---|
| 50 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
| 51 |
|
---|
[dabbced] | 52 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[6a043e2] | 53 | href="../common/gmp.xml"
|
---|
| 54 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
| 55 |
|
---|
[dabbced] | 56 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[6a043e2] | 57 | href="../common/gmp.xml"
|
---|
[4c68291] | 58 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
[6a043e2] | 59 |
|
---|
[dabbced] | 60 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[6a043e2] | 61 | href="../common/gmp.xml"
|
---|
[4c68291] | 62 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
[6a043e2] | 63 |
|
---|
[dabbced] | 64 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[6a043e2] | 65 | href="../common/gmp.xml"
|
---|
[4c68291] | 66 | xpointer="xpointer(//*[@os='i'])"/>
|
---|
[6a043e2] | 67 |
|
---|
[dabbced] | 68 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[6a043e2] | 69 | href="../common/gmp.xml"
|
---|
[4c68291] | 70 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
[6a043e2] | 71 |
|
---|
[dabbced] | 72 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[6a043e2] | 73 | href="../common/gmp.xml"
|
---|
[4c68291] | 74 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
[6a043e2] | 75 |
|
---|
[4c68291] | 76 | <para os="l">The header installed by GMP is architecture specific. Programs compiled as 32bit will require the header provided by the 32bit installation of GMP. The same applies for 64bit programs. Move the header so a wrapper can be put in its place later:</para>
|
---|
[6a043e2] | 77 |
|
---|
[4c68291] | 78 | <screen os="m"><userinput>mv -v /usr/include/gmp{,-32}.h</userinput></screen>
|
---|
[6a043e2] | 79 |
|
---|
| 80 | </sect2>
|
---|
| 81 |
|
---|
| 82 | <sect2 role="content">
|
---|
| 83 | <title/>
|
---|
| 84 |
|
---|
| 85 | <para>Details on this package are located in <xref
|
---|
| 86 | linkend="contents-gmp" role="."/></para>
|
---|
| 87 |
|
---|
| 88 | </sect2>
|
---|
| 89 |
|
---|
| 90 | </sect1>
|
---|