source: BOOK/cross-tools/common/mpfr.xml@ 413f061

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 413f061 was 8213adb, checked in by William Harrington <kb0iic@…>, 11 years ago

Add mpfr patch commands to all sections.

  • Property mode set to 100644
File size: 2.5 KB
RevLine 
[88958a8]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-cross-tools-mpfr" role="wrap">
9 <?dbhtml filename="mpfr.html"?>
10
11 <title>MPFR-&mpfr-version;</title>
12
13 <indexterm zone="ch-cross-tools-mpfr">
14 <primary sortas="a-MPFR">MPFR</primary>
15 <secondary>cross-tools</secondary>
16 </indexterm>
17
[dabbced]18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[88958a8]19 href="../../final-system/common/mpfr.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
21
22 <sect2 role="installation">
23 <title>Installation of MPFR</title>
24
[8213adb]25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
26 href="../../final-system/common/mpfr.xml"
27 xpointer="xpointer(//*[@os='p1'])"/>
28
29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
30 href="../../final-system/common/mpfr.xml"
31 xpointer="xpointer(//*[@os='p2'])"/>
32
[88958a8]33 <para os="a">Prepare MPFR for compilation:</para>
34
[3030099]35<screen os="b"><userinput>LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
36./configure --prefix=/cross-tools \
[6f0d44e]37 --disable-static --with-gmp=/cross-tools</userinput></screen>
[88958a8]38
[d755bc7]39 <variablelist os="b1">
40 <title>The meaning of the new configure options:</title>
41
42 <varlistentry>
43 <term><parameter>LDFLAGS="-Wl,-rpath,/cross-tools/lib"</parameter></term>
44 <listitem>
45 <para>This tells <command>configure</command> to search in
46 <filename class="directory">/cross-tools</filename> for libraries.</para>
47 </listitem>
48 </varlistentry>
49
[20f7baf]50 <varlistentry>
51 <term><parameter>--enable-shared</parameter></term>
52 <listitem>
53 <para>This tells <command>configure</command> to build MPFR's
54 shared libraries.</para>
55 </listitem>
56 </varlistentry>
57
[d755bc7]58 <varlistentry>
59 <term><parameter>--with-gmp=/cross-tools</parameter></term>
60 <listitem>
61 <para>This tells <command>configure</command> where to find GMP.</para>
62 </listitem>
63 </varlistentry>
64
65 </variablelist>
66
[88958a8]67 <para os="c">Compile the package:</para>
68
69<screen os="d"><userinput>make</userinput></screen>
70
71 <para os="e">Install the package:</para>
72
73<screen os="f"><userinput>make install</userinput></screen>
74
75 </sect2>
76
77 <sect2 role="content">
78 <title/>
79
80 <para>Details on this package are located in <xref
81 linkend="contents-mpfr" role="."/></para>
82
83 </sect2>
84
85</sect1>
Note: See TracBrowser for help on using the repository browser.