source: BOOK/temp-system/common/ppl.xml@ 369d5d6

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 369d5d6 was fd54d80, checked in by Jim Gifford <clfs@…>, 15 years ago

Added ABI Check in Cloog-PPL, to match the ABI of GMP
Added --with-ppl --with-cloog-ppl to specify the correct build to use in Cross-Tools GCC Builds
Added --with-ppl --with-cloog-ppl --with-mpfr --with-gmp to Temp System GCC to specify which one to use
Only build C and C++ Interfaces for PPL
Updated date

  • Property mode set to 100644
File size: 1.9 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/2003/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<!--
26 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
27 href="../../final-system/common/ppl.xml"
28 xpointer="xpointer(//*[@os='p1'])"/>
29
30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
31 href="../../final-system/common/ppl.xml"
32 xpointer="xpointer(//*[@os='p2'])"/>
33-->
34
35 <para os="a">Prepare PPL for compilation:</para>
36
37<screen os="b"><userinput>./configure --prefix=/tools \
38 --build=${CLFS_HOST} --host=${CLFS_TARGET} \
39 --enable-interfaces="c,cxx" \
40 --with-libgmp-prefix=/tools --with-libgmpxx-prefix=/tools</userinput></screen>
41
42 <para os="bp1">PPL doesn't check to see if GMP was compiled with support for
43 exceptions when it is being cross-compiled; it simply assumes that it was
44 not. This assumption is incorrect, so fix that:</para>
45
46<screen os="bp2">echo '#define PPL_GMP_SUPPORTS_EXCEPTIONS 1' >> confdefs.h</screen>
47
48 <para os="c">Compile the package:</para>
49
50<screen os="d"><userinput>make</userinput></screen>
51
52 <para os="e">Install the package:</para>
53
54<screen os="f"><userinput>make install</userinput></screen>
55
56 </sect2>
57
58 <sect2 role="content">
59 <title/>
60
61 <para>Details on this package are located in <xref
62 linkend="contents-ppl" role="."/></para>
63
64 </sect2>
65
66</sect1>
Note: See TracBrowser for help on using the repository browser.