source: BOOK/final-system/mips64/eglibc-n32.xml@ 22cd957

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 22cd957 was 22cd957, checked in by Joe Ciccone <jciccone@…>, 13 years ago

Add a sed to EGLIBC in the final system that will fix an issue with
the installation test script.

  • Property mode set to 100644
File size: 4.6 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f8be484]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
[093b0e8]8<sect1 id="ch-system-eglibc-n32" role="wrap">
9 <?dbhtml filename="eglibc-n32.html"?>
[3f8be484]10
[093b0e8]11 <title>EGLIBC-&eglibc-version; N32</title>
[3f8be484]12
[093b0e8]13 <indexterm zone="ch-system-eglibc-n32">
14 <primary sortas="a-EGLIBC">EGLIBC</primary>
[3f8be484]15 </indexterm>
16
[dabbced]17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[093b0e8]18 href="eglibc.xml"
[663c5a6]19 xpointer="xpointer(//*[@role='package'])"/>
[3f8be484]20
21 <sect2 role="installation">
[093b0e8]22 <title>Installation of EGLIBC</title>
[3f8be484]23
[22cd957]24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
25 href="../common/eglibc.xml"
26 xpointer="xpointer(//*[@os='l1'])"/>
27
28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
29 href="../common/eglibc.xml"
30 xpointer="xpointer(//*[@os='l2'])"/>
31
[dabbced]32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[d8f87e8]33 href="../common/eglibc.xml"
[c0bc7c4]34 xpointer="xpointer(//*[@os='l3'])"/>
[d8f87e8]35
[c0bc7c4]36<screen os="l4"><userinput>LINKER=$(readelf -l $(file /tools/lib32/libc-* | cut -f1 -d:) | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p')
[d8f87e8]37sed -i "s|libs -o|libs -L/usr/lib32 -Wl,-dynamic-linker=${LINKER} -o|" \
38 scripts/test-installation.pl
39unset LINKER</userinput></screen>
40
[dabbced]41 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[093b0e8]42 href="eglibc.xml"
[3f8be484]43 xpointer="xpointer(//*[@os='b'])"/>
44
[dabbced]45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[093b0e8]46 href="eglibc.xml"
[8125418]47 xpointer="xpointer(//*[@os='g1'])"/>
[c13f654]48
[dabbced]49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[093b0e8]50 href="eglibc.xml"
[8125418]51 xpointer="xpointer(//*[@os='g2'])"/>
[c13f654]52
[dabbced]53 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[093b0e8]54 href="eglibc-64bit.xml"
[814837a8]55 xpointer="xpointer(//*[@os='m3'])"/>
56
[dabbced]57 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[093b0e8]58 href="eglibc-64bit.xml"
[814837a8]59 xpointer="xpointer(//*[@os='m4'])"/>
60
[dabbced]61 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[093b0e8]62 href="eglibc.xml"
[3f8be484]63 xpointer="xpointer(//*[@os='e'])"/>
64
[dabbced]65 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[093b0e8]66 href="eglibc.xml"
[3f8be484]67 xpointer="xpointer(//*[@os='f'])"/>
68
[093b0e8]69 <para os="m1">Tell EGLIBC to install its 32-bit libraries into
[3f8be484]70 <filename class="directory">/lib32</filename>:</para>
71
[d3a4fc0]72<screen os="m2"><userinput>echo "slibdir=/lib32" &gt;&gt; configparms</userinput></screen>
[3f8be484]73
[dabbced]74 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[093b0e8]75 href="eglibc.xml"
[3f8be484]76 xpointer="xpointer(//*[@os='g'])"/>
77
[d3a4fc0]78<screen os="h"><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
[093b0e8]79 ../eglibc-&eglibc-version;/configure --prefix=/usr \
[3f8be484]80 --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
[093b0e8]81 --libexecdir=/usr/lib32/eglibc --libdir=/usr/lib32</userinput></screen>
[3f8be484]82
[d3a4fc0]83 <variablelist os="i">
[3f8be484]84 <title>The meaning of the new configure option:</title>
85
86 <varlistentry>
[093b0e8]87 <term><parameter>--libexecdir=/usr/lib32/eglibc</parameter></term>
[3f8be484]88 <listitem>
89 <para>This changes the location of the <command>pt_chown</command>
90 program from its default of <filename
91 class="directory">/usr/libexec</filename> to <filename
[093b0e8]92 class="directory">/usr/lib32/eglibc</filename>.</para>
[3f8be484]93 </listitem>
94 </varlistentry>
95 </variablelist>
96
[dabbced]97 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[093b0e8]98 href="eglibc.xml"
[3f8be484]99 xpointer="xpointer(//*[@os='j'])"/>
100
[dabbced]101 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[093b0e8]102 href="eglibc.xml"
[3f8be484]103 xpointer="xpointer(//*[@os='k'])"/>
104
[dabbced]105 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[093b0e8]106 href="eglibc.xml"
[3f8be484]107 xpointer="xpointer(//*[@os='l'])"/>
108
[dabbced]109 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[093b0e8]110 href="eglibc.xml"
[3f8be484]111 xpointer="xpointer(//*[@os='m'])"/>
112
[dabbced]113 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[093b0e8]114 href="../multilib/eglibc-64bit.xml"
[d3a4fc0]115 xpointer="xpointer(//*[@os='n'])"/>
116
[dabbced]117 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[093b0e8]118 href="../multilib/eglibc-64bit.xml"
[d3a4fc0]119 xpointer="xpointer(//*[@os='o'])"/>
120
[dabbced]121 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[093b0e8]122 href="../multilib/eglibc-64bit.xml"
[94e6142]123 xpointer="xpointer(//*[@os='p'])"/>
[3f8be484]124
[dabbced]125 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[093b0e8]126 href="eglibc.xml"
[3f8be484]127 xpointer="xpointer(//*[@os='s'])"/>
128
[dabbced]129 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[093b0e8]130 href="eglibc.xml"
[3f8be484]131 xpointer="xpointer(//*[@os='t'])"/>
132
133 </sect2>
134
135 <sect2 role="content">
136 <title/>
137
138 <para>Details on this package are located in <xref
[093b0e8]139 linkend="contents-eglibc" role="."/></para>
[3f8be484]140
141 </sect2>
142
143</sect1>
Note: See TracBrowser for help on using the repository browser.