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

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 57e2e06 was 57e2e06, checked in by Joe Ciccone <jciccone@…>, 15 years ago

Wrap the pl.hh header installed by ppl in the final system.

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