source: BOOK/cross-tools/common/ppl.xml@ bf398d4

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since bf398d4 was 20f7baf, checked in by Chris Staub <chris@…>, 12 years ago

Added some command explanations

  • Property mode set to 100644
File size: 2.1 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-cross-tools-ppl" role="wrap">
9 <?dbhtml filename="ppl.html"?>
10
11 <title>PPL-&ppl-version;</title>
12
13 <indexterm zone="ch-cross-tools-ppl">
14 <primary sortas="a-PPL">PPL</primary>
15 <secondary>cross-tools</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>CPPFLAGS="-I/cross-tools/include" \
28 LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
29 ./configure --prefix=/cross-tools --enable-shared --disable-static \
30 --enable-interfaces="c,cxx" --disable-optimization \
31 --with-gmp=/cross-tools</userinput></screen>
32
33 <variablelist os="b1">
34 <title>The meaning of the new configure option:</title>
35
36 <varlistentry>
37 <term><parameter>--enable-interfaces="c,cxx"</parameter></term>
38 <listitem>
39 <para>Tells <command>configure</command> to enable support for both
40 C and C++.</para>
41 </listitem>
42 </varlistentry>
43
44 <varlistentry>
45 <term><parameter>--disable-optimization</parameter></term>
46 <listitem>
47 <para>Tells <command>configure</command> to build PPL without
48 compiler optimizations, which are not needed for the Cross-Tools.</para>
49 </listitem>
50 </varlistentry>
51
52 </variablelist>
53
54 <para os="c">Compile the package:</para>
55
56<screen os="d"><userinput>make</userinput></screen>
57
58 <para os="e">Install the package:</para>
59
60<screen os="f"><userinput>make install</userinput></screen>
61
62 </sect2>
63
64 <sect2 role="content">
65 <title/>
66
67 <para>Details on this package are located in <xref
68 linkend="contents-ppl" role="."/></para>
69
70 </sect2>
71
72</sect1>
Note: See TracBrowser for help on using the repository browser.