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

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 8c3f58f 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
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
[dabbced]17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[9470388]18 href="../common/ppl.xml"
19 xpointer="xpointer(//*[@role='package'])"/>
20
21 <sect2 role="installation">
22 <title>Installation of PPL</title>
23
[dabbced]24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[9470388]25 href="../common/ppl.xml"
[e81afa2]26 xpointer="xpointer(//*[@os='s1'])"/>
[9470388]27
[dabbced]28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[9470388]29 href="../common/ppl.xml"
[e81afa2]30 xpointer="xpointer(//*[@os='s2'])"/>
[9470388]31
[dabbced]32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[9470388]33 href="../common/ppl.xml"
34 xpointer="xpointer(//*[@os='a'])"/>
35
[d7bec52]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}" \
[2f9a05f1]39 ./configure --prefix=/usr --libdir=/usr/lib64 \
[3ff2c4b]40 --enable-shared --disable-optimization</userinput></screen>
[9470388]41
[dabbced]42 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[9470388]43 href="../common/ppl.xml"
44 xpointer="xpointer(//*[@os='c'])"/>
45
[dabbced]46 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[9470388]47 href="../common/ppl.xml"
48 xpointer="xpointer(//*[@os='d'])"/>
49
[dabbced]50 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[9470388]51 href="../common/ppl.xml"
52 xpointer="xpointer(//*[@os='e'])"/>
53
[dabbced]54 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[9470388]55 href="../common/ppl.xml"
56 xpointer="xpointer(//*[@os='f'])"/>
57
[dabbced]58 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[9470388]59 href="../common/ppl.xml"
60 xpointer="xpointer(//*[@os='g'])"/>
61
[dabbced]62 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[9470388]63 href="../common/ppl.xml"
64 xpointer="xpointer(//*[@os='h'])"/>
65
[dabbced]66 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[9470388]67 href="../common/ppl.xml"
68 xpointer="xpointer(//*[@os='i'])"/>
69
[79e1de7]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
[57e2e06]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
[9470388]100 </sect2>
101
[dabbced]102 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[9470388]103 href="../common/ppl.xml"
104 xpointer="xpointer(id('contents-ppl'))"/>
105
106</sect1>
Note: See TracBrowser for help on using the repository browser.