source: BOOK/final-system/multilib/ppl.xml@ f0e499a

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

Update the LDFLAGS in the final-system between the installation
of EGLIBC and the installation of GCC. This should fix build errors
in a few odd situations, but it is also correct now. Before /usr/lib*
was not being set in rpath-link, just /lib*.

  • Property mode set to 100644
File size: 2.7 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-32" role="wrap">
9 <?dbhtml filename="ppl.html"?>
10
11 <title>PPL-&ppl-version; 32 Bit Libraries</title>
12
13 <indexterm zone="ch-system-ppl-32">
14 <primary sortas="a-PPL">PPL</primary>
15 <secondary>32 Bit</secondary>
16 </indexterm>
17
[dabbced]18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[9470388]19 href="../common/ppl.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
21
22 <sect2 role="installation">
23 <title>Installation of PPL</title>
24
[dabbced]25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[9470388]26 href="../common/ppl.xml"
27 xpointer="xpointer(//*[@os='a'])"/>
28
[d7bec52]29<screen os="b"><userinput>CPPFLAGS=-fexceptions CC="gcc -isystem /usr/include ${BUILD32}" \
[b6831b6]30CXX="g++ -isystem /usr/include ${BUILD32}" \
31LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib ${BUILD32}" \
32 ./configure --prefix=/usr --host=${CLFS_TARGET32} \
33 --enable-shared --disable-optimization</userinput></screen>
[9470388]34
[dabbced]35 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[9470388]36 href="../common/ppl.xml"
37 xpointer="xpointer(//*[@os='c'])"/>
38
[dabbced]39 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[9470388]40 href="../common/ppl.xml"
41 xpointer="xpointer(//*[@os='d'])"/>
42
[dabbced]43 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[9470388]44 href="../common/ppl.xml"
45 xpointer="xpointer(//*[@os='e'])"/>
46
[dabbced]47 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[9470388]48 href="../common/ppl.xml"
49 xpointer="xpointer(//*[@os='f'])"/>
50
[dabbced]51 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[9470388]52 href="../common/ppl.xml"
53 xpointer="xpointer(//*[@os='g'])"/>
54
[dabbced]55 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[9470388]56 href="../common/ppl.xml"
57 xpointer="xpointer(//*[@os='h'])"/>
58
[dabbced]59 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[9470388]60 href="../common/ppl.xml"
61 xpointer="xpointer(//*[@os='i'])"/>
62
[79e1de7]63 <para os="m1">Prepare <filename>ppl-config</filename> to be wrapped by
64 the multiarch wrapper:</para>
65
66<screen os="m2"><userinput>mv -v /usr/bin/ppl-config{,-32}</userinput></screen>
67
[57e2e06]68 <para os="j">One of the headers installed by PPL is architecture specific. Programs compiled as 32bit will require the header provided by the 32bit installation of PPL. The same applies for 64bit programs. Move the header so a wrapper can be put in its place later:</para>
69
70<screen os="k"><userinput>mv -v /usr/include/ppl{,-32}.hh</userinput></screen>
71
72
[9470388]73 </sect2>
74
75 <sect2 role="content">
76 <title/>
77
78 <para>Details on this package are located in <xref
79 linkend="contents-ppl" role="."/></para>
80
81 </sect2>
82
83</sect1>
Note: See TracBrowser for help on using the repository browser.