source: BOOK/final-system/multilib/gmp.xml@ 1b6e9c5

sysvinit
Last change on this file since 1b6e9c5 was b27081c4, checked in by Chris Staub <chris@…>, 9 years ago

Put one configure option per line

  • Property mode set to 100644
File size: 2.7 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/2001/XInclude"
19 href="../common/gmp.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
21
22 <sect2 role="installation">
23 <title>Installation of GMP</title>
24
25<!--
26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
27 href="../common/gmp.xml"
28 xpointer="xpointer(//*[@os='p1'])"/>
29
30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
31 href="../common/gmp.xml"
32 xpointer="xpointer(//*[@os='p2'])"/>
33-->
34
35 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
36 href="../common/gmp.xml"
37 xpointer="xpointer(//*[@os='n1'])"/>
38
39 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
40 href="../common/gmp.xml"
41 xpointer="xpointer(//*[@os='a'])"/>
42
43<screen os="b"><userinput>CC="gcc -isystem /usr/include ${BUILD32}" \
44CXX="g++ -isystem /usr/include ${BUILD32}" \
45LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib ${BUILD32}" \
46 ABI=32 ./configure \
47 --prefix=/usr \
48 --enable-cxx</userinput></screen>
49
50 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
51 href="../common/gmp.xml"
52 xpointer="xpointer(//*[@os='c'])"/>
53
54 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
55 href="../common/gmp.xml"
56 xpointer="xpointer(//*[@os='d'])"/>
57
58 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
59 href="../common/gmp.xml"
60 xpointer="xpointer(//*[@os='g'])"/>
61
62 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
63 href="../common/gmp.xml"
64 xpointer="xpointer(//*[@os='h'])"/>
65
66 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
67 href="../common/gmp.xml"
68 xpointer="xpointer(//*[@os='i'])"/>
69
70 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
71 href="../common/gmp.xml"
72 xpointer="xpointer(//*[@os='j'])"/>
73
74 <para os="k">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>
75
76<screen os="l"><userinput>mv -v /usr/include/gmp{,-32}.h</userinput></screen>
77
78 </sect2>
79
80 <sect2 role="content">
81 <title/>
82
83 <para>Details on this package are located in <xref
84 linkend="contents-gmp" role="."/></para>
85
86 </sect2>
87
88</sect1>
Note: See TracBrowser for help on using the repository browser.