source: BOOK/final-system/multilib/gmp.xml@ 2093cd5

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 2093cd5 was 9470388, checked in by Zack Winkles <eikniw@…>, 15 years ago

Add CLooG/PPL, and use it everything.

  • 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-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
[8cfdc18]25<!--
[be71788]26 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
27 href="../common/gmp.xml"
28 xpointer="xpointer(//*[@os='p1'])"/>
29
30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
31 href="../common/gmp.xml"
32 xpointer="xpointer(//*[@os='p2'])"/>
[8cfdc18]33-->
[be71788]34
[6a043e2]35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
36 href="../common/gmp.xml"
37 xpointer="xpointer(//*[@os='a'])"/>
38
[9470388]39<screen os="b"><userinput>CPPFLAGS=-fexceptions CC="gcc -isystem /usr/include ${BUILD32}" \
40 CXX="g++ -isystem /usr/include ${BUILD32}" \
[4173cd9]41 LDFLAGS="-Wl,-rpath-link,/lib ${BUILD32}" ./configure --prefix=/usr \
42 --host=${CLFS_TARGET32} --enable-cxx --enable-mpbsd</userinput></screen>
[6a043e2]43
44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
45 href="../common/gmp.xml"
46 xpointer="xpointer(//*[@os='c'])"/>
47
48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
49 href="../common/gmp.xml"
50 xpointer="xpointer(//*[@os='d'])"/>
51
52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
53 href="../common/gmp.xml"
54 xpointer="xpointer(//*[@os='e'])"/>
55
56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
57 href="../common/gmp.xml"
58 xpointer="xpointer(//*[@os='f'])"/>
59
60 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
61 href="../common/gmp.xml"
62 xpointer="xpointer(//*[@os='g'])"/>
63
64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
65 href="../common/gmp.xml"
66 xpointer="xpointer(//*[@os='h'])"/>
67
68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
69 href="../common/gmp.xml"
70 xpointer="xpointer(//*[@os='i'])"/>
71
72 <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>
73
[7b31c44]74<screen os="k"><userinput>mv -v /usr/include/gmp{,-32}.h</userinput></screen>
[6a043e2]75
76 </sect2>
77
78 <sect2 role="content">
79 <title/>
80
81 <para>Details on this package are located in <xref
82 linkend="contents-gmp" role="."/></para>
83
84 </sect2>
85
86</sect1>
Note: See TracBrowser for help on using the repository browser.