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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 6621fca was 2f9a05f1, checked in by Jim Gifford <clfs@…>, 15 years ago

Updated PPL Instructions to save time during make check

  • Property mode set to 100644
File size: 3.3 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/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
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}" \
41 ./configure --prefix=/usr --libdir=/usr/lib64 \
42 --enable-shared --disable-optimization \
43 --enable-check=quick</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 and then wrap it:</para>
75
76<screen os="m2"><userinput>mv -v /usr/bin/ppl-config{,-64}
77ln -svf multiarch_wrapper /usr/bin/ppl-config</userinput></screen>
78
79 <para os="j">Create the 64bit header file:</para>
80
81<screen os="k"><userinput>mv -v /usr/include/ppl{,-64}.hh</userinput></screen>
82
83 <para os="l">Finally, create a stub header in the place of the originals:</para>
84
85<screen os="m"><userinput>cat &gt; /usr/include/ppl.hh &lt;&lt; "EOF"
86/* ppl.hh - Stub Header */
87#ifndef __STUB__PPL_HH__
88#define __STUB__PPL_HH__
89
90#if defined(__x86_64__) || \
91 defined(__sparc64__) || \
92 defined(__arch64__) || \
93 defined(__powerpc64__) || \
94 defined (__s390x__)
95# include "ppl-64.h"
96#else
97# include "ppl-32.h"
98#endif
99
100#endif /* __STUB__PPL_HH__ */
101EOF</userinput></screen>
102
103 </sect2>
104
105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
106 href="../common/ppl.xml"
107 xpointer="xpointer(id('contents-ppl'))"/>
108
109</sect1>
Note: See TracBrowser for help on using the repository browser.