source: BOOK/final-system/multilib/gmp.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.4 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-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
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='a'])"/>
28
29<screen os="b"><userinput>CC="gcc ${BUILD32}" ./configure --prefix=/usr \
30    --host=${CLFS_TARGET32} --enable-cxx \
31    --enable-mpbsd</userinput></screen>
32
33    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
34    href="../common/gmp.xml"
35    xpointer="xpointer(//*[@os='c'])"/>
36
37    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38    href="../common/gmp.xml"
39    xpointer="xpointer(//*[@os='d'])"/>
40
41    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
42    href="../common/gmp.xml"
43    xpointer="xpointer(//*[@os='e'])"/>
44
45    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
46    href="../common/gmp.xml"
47    xpointer="xpointer(//*[@os='f'])"/>
48
49    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
50    href="../common/gmp.xml"
51    xpointer="xpointer(//*[@os='g'])"/>
52
53    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
54    href="../common/gmp.xml"
55    xpointer="xpointer(//*[@os='h'])"/>
56
57    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
58    href="../common/gmp.xml"
59    xpointer="xpointer(//*[@os='i'])"/>
60
61    <para os="j">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>
62
63<screen os="k"><userinput>mv -v /usr/include/gmp{,-32}.h</userinput></screen>
64
65  </sect2>
66
67  <sect2 role="content">
68    <title/>
69
70    <para>Details on this package are located in <xref
71    linkend="contents-gmp" role="."/></para>
72
73  </sect2>
74
75</sect1>
Note: See TracBrowser for help on using the repository browser.