source: BOOK/temp-system/common/ppl.xml @ 80e604c

clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 80e604c was 80e604c, checked in by William Harrington <kb0iic@…>, 12 years ago

Edit ppl cross-tools and temp-tools configuration options.

  • Property mode set to 100644
File size: 1.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-temp-system-ppl" role="wrap">
9  <?dbhtml filename="ppl.html"?>
10
11  <title>PPL-&ppl-version;</title>
12
13  <indexterm zone="ch-temp-system-ppl">
14    <primary sortas="a-PPL">PPL</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/ppl.xml"
20  xpointer="xpointer(//*[@role='package'])"/>
21
22  <sect2 role="installation">
23    <title>Installation of PPL</title>
24
25    <para os="a">Prepare PPL for compilation:</para>
26
27<screen os="b"><userinput>./configure --prefix=/tools \
28    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
29    --enable-interfaces="c,cxx" --enable-shared --disable-optimization \
30    --with-gmp=/tools</userinput></screen>
31
32    <para os="bp1">When PPL is cross-compiled, it does not check whether
33    GMP was compiled with support for exceptions, and simply assumes it was not.
34    This assumption is incorrect, so we will fix that:</para>
35
36<screen os="bp2"><userinput>echo '#define PPL_GMP_SUPPORTS_EXCEPTIONS 1' >> confdefs.h</userinput></screen>
37
38    <para os="c">Compile the package:</para>
39
40<screen os="d"><userinput>make</userinput></screen>
41
42    <para os="e">Install the package:</para>
43
44<screen os="f"><userinput>make install</userinput></screen>
45
46  </sect2>
47
48  <sect2 role="content">
49    <title/>
50
51    <para>Details on this package are located in <xref
52    linkend="contents-ppl" role="."/></para>
53
54  </sect2>
55
56</sect1>
Note: See TracBrowser for help on using the repository browser.