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