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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since dabbced was dabbced, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Change the XInclude schema path from 2003 to 2001. 2003 is depreciated
according to w3.org and 2001 should be used instead.

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