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-system-ppl-32" role="wrap">
|
---|
9 | <?dbhtml filename="ppl.html"?>
|
---|
10 |
|
---|
11 | <title>PPL-&ppl-version; 32 Bit Libraries</title>
|
---|
12 |
|
---|
13 | <indexterm zone="ch-system-ppl-32">
|
---|
14 | <primary sortas="a-PPL">PPL</primary>
|
---|
15 | <secondary>32 Bit</secondary>
|
---|
16 | </indexterm>
|
---|
17 |
|
---|
18 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
19 | href="../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="../common/ppl.xml"
|
---|
28 | xpointer="xpointer(//*[@os='p1'])"/>
|
---|
29 |
|
---|
30 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
31 | href="../common/ppl.xml"
|
---|
32 | xpointer="xpointer(//*[@os='p2'])"/>
|
---|
33 | -->
|
---|
34 |
|
---|
35 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
36 | href="../common/ppl.xml"
|
---|
37 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
38 |
|
---|
39 | <screen os="b"><userinput>CPPFLAGS=-fexceptions CC="gcc -isystem /usr/include ${BUILD32}" \
|
---|
40 | CXX="g++ -isystem /usr/include ${BUILD32}" \
|
---|
41 | LDFLAGS="-Wl,-rpath-link,/lib ${BUILD32}" \
|
---|
42 | ./configure --prefix=/usr --host=${CLFS_TARGET32} \
|
---|
43 | --enable-shared --disable-optimization</userinput></screen>
|
---|
44 |
|
---|
45 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
46 | href="../common/ppl.xml"
|
---|
47 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
48 |
|
---|
49 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
50 | href="../common/ppl.xml"
|
---|
51 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
52 |
|
---|
53 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
54 | href="../common/ppl.xml"
|
---|
55 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
56 |
|
---|
57 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
58 | href="../common/ppl.xml"
|
---|
59 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
60 |
|
---|
61 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
62 | href="../common/ppl.xml"
|
---|
63 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
64 |
|
---|
65 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
66 | href="../common/ppl.xml"
|
---|
67 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
68 |
|
---|
69 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
70 | href="../common/ppl.xml"
|
---|
71 | xpointer="xpointer(//*[@os='i'])"/>
|
---|
72 |
|
---|
73 | <para os="m1">Prepare <filename>ppl-config</filename> to be wrapped by
|
---|
74 | the multiarch wrapper:</para>
|
---|
75 |
|
---|
76 | <screen os="m2"><userinput>mv -v /usr/bin/ppl-config{,-32}</userinput></screen>
|
---|
77 |
|
---|
78 | <para os="j">One of the headers installed by PPL is architecture specific. Programs compiled as 32bit will require the header provided by the 32bit installation of PPL. The same applies for 64bit programs. Move the header so a wrapper can be put in its place later:</para>
|
---|
79 |
|
---|
80 | <screen os="k"><userinput>mv -v /usr/include/ppl{,-32}.hh</userinput></screen>
|
---|
81 |
|
---|
82 |
|
---|
83 | </sect2>
|
---|
84 |
|
---|
85 | <sect2 role="content">
|
---|
86 | <title/>
|
---|
87 |
|
---|
88 | <para>Details on this package are located in <xref
|
---|
89 | linkend="contents-ppl" role="."/></para>
|
---|
90 |
|
---|
91 | </sect2>
|
---|
92 |
|
---|
93 | </sect1>
|
---|