source: BOOK/temp-system/common/gmp.xml@ 4ce7c10

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 4ce7c10 was ded0f3a, checked in by Joe Ciccone <jciccone@…>, 15 years ago

Fix GMP compilation problem in the temp system when the host and target system have similar but not identical archs.

  • Property mode set to 100644
File size: 1.6 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-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/2003/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
[8cfdc18]25<!--
[be71788]26 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
27 href="../../final-system/common/gmp.xml"
28 xpointer="xpointer(//*[@os='p1'])"/>
29
30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
31 href="../../final-system/common/gmp.xml"
32 xpointer="xpointer(//*[@os='p2'])"/>
[8cfdc18]33-->
[be71788]34
[6a043e2]35 <para os="a">Prepare GMP for compilation:</para>
36
[ded0f3a]37<screen os="b"><userinput>HOST_CC=gcc CPPFLAGS=-fexceptions ./configure --prefix=/tools \
[6a043e2]38 --build=${CLFS_HOST} --host=${CLFS_TARGET} \
[9470388]39 --enable-cxx</userinput></screen>
[6a043e2]40
41 <para os="c">Compile the package:</para>
42
43<screen os="d"><userinput>make</userinput></screen>
44
45 <para os="e">Install the package:</para>
46
47<screen os="f"><userinput>make install</userinput></screen>
48
49 </sect2>
50
51 <sect2 role="content">
52 <title/>
53
54 <para>Details on this package are located in <xref
55 linkend="contents-gmp" role="."/></para>
56
57 </sect2>
58
59</sect1>
Note: See TracBrowser for help on using the repository browser.