source: BOOK/final-system/multilib/ppl-64bit.xml@ 4648865

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 4648865 was 3ff2c4b, checked in by Chris Staub <chris@…>, 15 years ago

quick check for ppl is the default anyway

  • Property mode set to 100644
File size: 3.2 KB
RevLine 
[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-system-ppl" role="wrap">
9 <?dbhtml filename="ppl-64bit.html"?>
10
11 <title>PPL-&ppl-version; 64 Bit</title>
12
13 <indexterm zone="ch-system-ppl">
14 <primary sortas="a-PPL">PPL</primary>
15 </indexterm>
16
17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
18 href="../common/ppl.xml"
19 xpointer="xpointer(//*[@role='package'])"/>
20
21 <sect2 role="installation">
22 <title>Installation of PPL</title>
23
24<!--
25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
26 href="../common/ppl.xml"
27 xpointer="xpointer(//*[@os='p1'])"/>
28
29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
30 href="../common/ppl.xml"
31 xpointer="xpointer(//*[@os='p2'])"/>
32 -->
33
34 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
35 href="../common/ppl.xml"
36 xpointer="xpointer(//*[@os='a'])"/>
37
[d7bec52]38<screen os="b"><userinput>CPPFLAGS=-fexceptions CC="gcc -isystem /usr/include ${BUILD64}" \
39 CXX="g++ -isystem /usr/include ${BUILD64}" \
40 LDFLAGS="-Wl,-rpath-link,/lib64 ${BUILD64}" \
[2f9a05f1]41 ./configure --prefix=/usr --libdir=/usr/lib64 \
[3ff2c4b]42 --enable-shared --disable-optimization</userinput></screen>
[9470388]43
44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
45 href="../common/ppl.xml"
46 xpointer="xpointer(//*[@os='c'])"/>
47
48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
49 href="../common/ppl.xml"
50 xpointer="xpointer(//*[@os='d'])"/>
51
52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
53 href="../common/ppl.xml"
54 xpointer="xpointer(//*[@os='e'])"/>
55
56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
57 href="../common/ppl.xml"
58 xpointer="xpointer(//*[@os='f'])"/>
59
60 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
61 href="../common/ppl.xml"
62 xpointer="xpointer(//*[@os='g'])"/>
63
64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
65 href="../common/ppl.xml"
66 xpointer="xpointer(//*[@os='h'])"/>
67
68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
69 href="../common/ppl.xml"
70 xpointer="xpointer(//*[@os='i'])"/>
71
[79e1de7]72 <para os="m1">Prepare <filename>ppl-config</filename> to be wrapped by
73 the multiarch wrapper and then wrap it:</para>
74
75<screen os="m2"><userinput>mv -v /usr/bin/ppl-config{,-64}
76ln -svf multiarch_wrapper /usr/bin/ppl-config</userinput></screen>
77
[57e2e06]78 <para os="j">Create the 64bit header file:</para>
79
80<screen os="k"><userinput>mv -v /usr/include/ppl{,-64}.hh</userinput></screen>
81
82 <para os="l">Finally, create a stub header in the place of the originals:</para>
83
84<screen os="m"><userinput>cat &gt; /usr/include/ppl.hh &lt;&lt; "EOF"
85/* ppl.hh - Stub Header */
86#ifndef __STUB__PPL_HH__
87#define __STUB__PPL_HH__
88
89#if defined(__x86_64__) || \
90 defined(__sparc64__) || \
91 defined(__arch64__) || \
92 defined(__powerpc64__) || \
93 defined (__s390x__)
94# include "ppl-64.h"
95#else
96# include "ppl-32.h"
97#endif
98
99#endif /* __STUB__PPL_HH__ */
100EOF</userinput></screen>
101
[9470388]102 </sect2>
103
104 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
105 href="../common/ppl.xml"
106 xpointer="xpointer(id('contents-ppl'))"/>
107
108</sect1>
Note: See TracBrowser for help on using the repository browser.