source: BOOK/final-system/mips64/gmp-64bit.xml@ e583269

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since e583269 was 8cfdc18, checked in by Jim Gifford <clfs@…>, 16 years ago

Updated to GMP 4.3.1

  • Property mode set to 100644
File size: 2.8 KB
RevLine 
[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
[8cfdc18]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-->
[6a043e2]34 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
35 href="../common/gmp.xml"
36 xpointer="xpointer(//*[@os='a'])"/>
37
[f165f0b]38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
39 href="../multilib/gmp-64bit.xml"
40 xpointer="xpointer(//*[@os='b'])"/>
[6a043e2]41
42 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
43 href="../common/gmp.xml"
44 xpointer="xpointer(//*[@os='c'])"/>
45
46 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
47 href="../common/gmp.xml"
48 xpointer="xpointer(//*[@os='d'])"/>
49
50 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
51 href="../common/gmp.xml"
52 xpointer="xpointer(//*[@os='e'])"/>
53
54 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
55 href="../common/gmp.xml"
56 xpointer="xpointer(//*[@os='f'])"/>
57
58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
59 href="../common/gmp.xml"
60 xpointer="xpointer(//*[@os='g'])"/>
61
62 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
63 href="../common/gmp.xml"
64 xpointer="xpointer(//*[@os='h'])"/>
65
66 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
67 href="../common/gmp.xml"
68 xpointer="xpointer(//*[@os='i'])"/>
69
70 <para os="j">Create the 64bit header file:</para>
71
[7b31c44]72<screen os="k"><userinput>mv -v /usr/include/gmp{,-64}.h</userinput></screen>
[6a043e2]73
74 <para os="l">Finally, Create a stub header in the place of the originals:</para>
75
76<screen os="m"><userinput>cat &gt; /usr/include/gmp.h &lt;&lt; "EOF"
77/* gmp.h - Stub Header */
78#ifndef __STUB__GMP_H__
79#define __STUB__GMP_H__
80
81#include &lt;sgidefs.h&gt;
82
83#if (_MIPS_SIM == _ABIO32)
84# include "gmp-32.h"
85#elif (_MIPS_SIM == _ABIN32)
86# include "gmp-n32.h"
87#elif (_MIPS_SIM == _ABI64)
88# include "gmp-64.h"
89#endif
90
91#endif /* __STUB__GMP_H__ */
92EOF</userinput></screen>
93
94 </sect2>
95
96 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
97 href="../common/gmp.xml"
98 xpointer="xpointer(id('contents-gmp'))"/>
99
100</sect1>
Note: See TracBrowser for help on using the repository browser.