source: BOOK/temp-system/multilib/gmp.xml @ 53ba169

clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 53ba169 was fa72a755, checked in by Chris Staub <chris@…>, 10 years ago

HOST_CC is deprecated, use CC_FOR_BUILD instead

  • Property mode set to 100644
File size: 2.3 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-temp-system-gmp" role="wrap">
9  <?dbhtml filename="gmp.html"?>
10
11  <title>GMP-&gmp-version;</title>
12
13  <indexterm zone="ch-temp-system-gmp">
14    <primary sortas="a-GMP">GMP</primary>
15    <secondary>temporary system</secondary>
16  </indexterm>
17
18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
19  href="../../final-system/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='a'])"/>
38
39<screen os="b"><userinput>CC_FOR_BUILD=gcc CC="${CC} \
40    ${BUILD64}" CXX="${CXX} ${BUILD64}" ./configure --prefix=/tools \
41    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
42    --libdir=/tools/lib64 --enable-cxx</userinput></screen>
43
44    <variablelist os="ba">
45      <title>The meaning of the new configure option:</title>
46
47      <varlistentry>
48        <term><parameter>CC="${CC} ${BUILD64}"</parameter></term>
49        <listitem>
50          <para>Tells the compiler to use our 64-bit build flags.</para>
51        </listitem>
52      </varlistentry>
53
54    </variablelist>
55
56    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
57    href="../common/gmp.xml"
58    xpointer="xpointer(//*[@os='c'])"/>
59
60    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
61    href="../common/gmp.xml"
62    xpointer="xpointer(//*[@os='d'])"/>
63
64    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
65    href="../common/gmp.xml"
66    xpointer="xpointer(//*[@os='e'])"/>
67
68    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
69    href="../common/gmp.xml"
70    xpointer="xpointer(//*[@os='f'])"/>
71
72  </sect2>
73
74  <sect2 role="content">
75    <title/>
76
77    <para>Details on this package are located in <xref
78    linkend="contents-gmp" role="."/></para>
79
80  </sect2>
81
82</sect1>
Note: See TracBrowser for help on using the repository browser.