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

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 7b31c44 was 7b31c44, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Updated Coreutils to 6.12.
Drop Mktemp in favor of the version included in Coreutils.
Updated Perl to 5.10.0.
Updated File to 4.25.
Updated File to 4.26.
Updated GCC to 4.3.2.

  • Property mode set to 100644
File size: 2.5 KB
Line 
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
28<screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \
29    --libdir=/usr/lib64 --enable-cxx \
30    --enable-mpbsd</userinput></screen>
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
62<screen os="k"><userinput>mv -v /usr/include/gmp{,-64}.h</userinput></screen>
63
64    <para os="l">Finally, Create a stub header in the place of the originals:</para>
65
66<screen os="m"><userinput>cat &gt; /usr/include/gmp.h &lt;&lt; "EOF"
67/* gmp.h - Stub Header  */
68#ifndef __STUB__GMP_H__
69#define __STUB__GMP_H__
70
71#include &lt;sgidefs.h&gt;
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__ */
82EOF</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>
Note: See TracBrowser for help on using the repository browser.