[9470388] | 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 |
|
---|
[dabbced] | 18 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[9470388] | 19 | href="../../final-system/common/ppl.xml"
|
---|
| 20 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
| 21 |
|
---|
| 22 | <sect2 role="installation">
|
---|
| 23 | <title>Installation of PPL</title>
|
---|
| 24 |
|
---|
[dabbced] | 25 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[9470388] | 26 | href="../../final-system/common/ppl.xml"
|
---|
[e81afa2] | 27 | xpointer="xpointer(//*[@os='s1'])"/>
|
---|
[9470388] | 28 |
|
---|
[dabbced] | 29 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[9470388] | 30 | href="../../final-system/common/ppl.xml"
|
---|
[e81afa2] | 31 | xpointer="xpointer(//*[@os='s2'])"/>
|
---|
[9470388] | 32 |
|
---|
| 33 | <para os="a">Prepare PPL for compilation:</para>
|
---|
| 34 |
|
---|
| 35 | <screen os="b"><userinput>./configure --prefix=/tools \
|
---|
| 36 | --build=${CLFS_HOST} --host=${CLFS_TARGET} \
|
---|
[2f9a05f1] | 37 | --enable-interfaces="c,cxx" --enable-shared --disable-optimization \
|
---|
[5ae3520] | 38 | --with-libgmp-prefix=/tools --with-libgmpxx-prefix=/tools</userinput></screen>
|
---|
[9470388] | 39 |
|
---|
[e6def51] | 40 | <para os="bp1">When PPL is cross-compiled, it does not check whether
|
---|
| 41 | GMP was compiled with support for exceptions, and simply assumes it was not.
|
---|
| 42 | This assumption is incorrect, so we will fix that:</para>
|
---|
[9470388] | 43 |
|
---|
[8199be3] | 44 | <screen os="bp2"><userinput>echo '#define PPL_GMP_SUPPORTS_EXCEPTIONS 1' >> confdefs.h</userinput></screen>
|
---|
[9470388] | 45 |
|
---|
| 46 | <para os="c">Compile the package:</para>
|
---|
| 47 |
|
---|
| 48 | <screen os="d"><userinput>make</userinput></screen>
|
---|
| 49 |
|
---|
| 50 | <para os="e">Install the package:</para>
|
---|
| 51 |
|
---|
| 52 | <screen os="f"><userinput>make install</userinput></screen>
|
---|
| 53 |
|
---|
| 54 | </sect2>
|
---|
| 55 |
|
---|
| 56 | <sect2 role="content">
|
---|
| 57 | <title/>
|
---|
| 58 |
|
---|
| 59 | <para>Details on this package are located in <xref
|
---|
| 60 | linkend="contents-ppl" role="."/></para>
|
---|
| 61 |
|
---|
| 62 | </sect2>
|
---|
| 63 |
|
---|
| 64 | </sect1>
|
---|