[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" role="wrap">
|
---|
| 9 | <?dbhtml filename="gmp-64bit.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>GMP-&gmp-version; 64 Bit</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-system-gmp">
|
---|
| 14 | <primary sortas="a-GMP">GMP</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 18 | href="../common/gmp.xml"
|
---|
| 19 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
| 20 |
|
---|
| 21 | <sect2 role="installation">
|
---|
| 22 | <title>Installation of GMP</title>
|
---|
| 23 |
|
---|
| 24 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 25 | href="../common/gmp.xml"
|
---|
| 26 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
| 27 |
|
---|
[f165f0b] | 28 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 29 | href="../multilib/gmp-64bit.xml"
|
---|
| 30 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
[6a043e2] | 31 |
|
---|
| 32 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 33 | href="../common/gmp.xml"
|
---|
| 34 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
| 35 |
|
---|
| 36 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 37 | href="../common/gmp.xml"
|
---|
| 38 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
| 39 |
|
---|
| 40 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 41 | href="../common/gmp.xml"
|
---|
| 42 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
| 43 |
|
---|
| 44 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 45 | href="../common/gmp.xml"
|
---|
| 46 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 47 |
|
---|
| 48 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 49 | href="../common/gmp.xml"
|
---|
| 50 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 51 |
|
---|
| 52 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 53 | href="../common/gmp.xml"
|
---|
| 54 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
| 55 |
|
---|
| 56 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 57 | href="../common/gmp.xml"
|
---|
| 58 | xpointer="xpointer(//*[@os='i'])"/>
|
---|
| 59 |
|
---|
| 60 | <para os="j">Create the 64bit header file:</para>
|
---|
| 61 |
|
---|
[7b31c44] | 62 | <screen os="k"><userinput>mv -v /usr/include/gmp{,-64}.h</userinput></screen>
|
---|
[6a043e2] | 63 |
|
---|
| 64 | <para os="l">Finally, Create a stub header in the place of the originals:</para>
|
---|
| 65 |
|
---|
| 66 | <screen os="m"><userinput>cat > /usr/include/gmp.h << "EOF"
|
---|
| 67 | /* gmp.h - Stub Header */
|
---|
| 68 | #ifndef __STUB__GMP_H__
|
---|
| 69 | #define __STUB__GMP_H__
|
---|
| 70 |
|
---|
| 71 | #include <sgidefs.h>
|
---|
| 72 |
|
---|
| 73 | #if (_MIPS_SIM == _ABIO32)
|
---|
| 74 | # include "gmp-32.h"
|
---|
| 75 | #elif (_MIPS_SIM == _ABIN32)
|
---|
| 76 | # include "gmp-n32.h"
|
---|
| 77 | #elif (_MIPS_SIM == _ABI64)
|
---|
| 78 | # include "gmp-64.h"
|
---|
| 79 | #endif
|
---|
| 80 |
|
---|
| 81 | #endif /* __STUB__GMP_H__ */
|
---|
| 82 | EOF</userinput></screen>
|
---|
| 83 |
|
---|
| 84 | </sect2>
|
---|
| 85 |
|
---|
| 86 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 87 | href="../common/gmp.xml"
|
---|
| 88 | xpointer="xpointer(id('contents-gmp'))"/>
|
---|
| 89 |
|
---|
| 90 | </sect1>
|
---|