[bf8c11f] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | <!ENTITY % patches-entities SYSTEM "../../patches.ent">
|
---|
| 6 | %general-entities;
|
---|
| 7 | %patches-entities;
|
---|
| 8 | ]>
|
---|
| 9 |
|
---|
| 10 | <sect1 id="ch-cross-tools-glibc-n32" role="wrap">
|
---|
| 11 | <?dbhtml filename="glibc-n32.html"?>
|
---|
| 12 |
|
---|
| 13 | <title>Glibc-&glibc-version; N32</title>
|
---|
| 14 |
|
---|
| 15 | <indexterm zone="ch-cross-tools-glibc-n32">
|
---|
| 16 | <primary sortas="a-Glibc">Glibc</primary>
|
---|
| 17 | <secondary>cross tools, N32</secondary>
|
---|
| 18 | </indexterm>
|
---|
| 19 |
|
---|
| 20 | <sect2 role="package">
|
---|
| 21 | <title/>
|
---|
| 22 |
|
---|
| 23 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 24 | href="../../final-system/common/glibc.xml"
|
---|
| 25 | xpointer="xpointer(//*[@role='package']/para[1])"/>
|
---|
| 26 |
|
---|
| 27 | <segmentedlist>
|
---|
| 28 | <segtitle>&buildtime;</segtitle>
|
---|
| 29 | <segtitle>&diskspace;</segtitle>
|
---|
| 30 |
|
---|
| 31 | <seglistitem>
|
---|
| 32 | <seg>Not checked yet</seg>
|
---|
| 33 | <seg>Not checked yet</seg>
|
---|
| 34 | </seglistitem>
|
---|
| 35 | </segmentedlist>
|
---|
| 36 |
|
---|
| 37 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 38 | href="../../final-system/common/glibc.xml"
|
---|
| 39 | xpointer="xpointer(//*[@role='package']/segmentedlist[2])"/>
|
---|
| 40 |
|
---|
| 41 | </sect2>
|
---|
| 42 |
|
---|
| 43 | <sect2 role="installation">
|
---|
| 44 | <title>Installation of Glibc</title>
|
---|
| 45 |
|
---|
| 46 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 47 | href="glibc.xml"
|
---|
| 48 | xpointer="xpointer(//*[@os='da'])"/>
|
---|
| 49 |
|
---|
| 50 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 51 | href="glibc.xml"
|
---|
| 52 | xpointer="xpointer(//*[@os='db'])"/>
|
---|
| 53 |
|
---|
| 54 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 55 | href="glibc.xml"
|
---|
| 56 | xpointer="xpointer(//*[@os='dc'])"/>
|
---|
| 57 |
|
---|
| 58 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 59 | href="glibc.xml"
|
---|
| 60 | xpointer="xpointer(//*[@os='m1'])"/>
|
---|
| 61 |
|
---|
| 62 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 63 | href="glibc.xml"
|
---|
| 64 | xpointer="xpointer(//*[@os='m2'])"/>
|
---|
| 65 |
|
---|
| 66 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 67 | href="glibc.xml"
|
---|
| 68 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
| 69 |
|
---|
| 70 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 71 | href="glibc.xml"
|
---|
| 72 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
| 73 |
|
---|
| 74 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 75 | href="glibc.xml"
|
---|
| 76 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
| 77 |
|
---|
| 78 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 79 | href="glibc.xml"
|
---|
| 80 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 81 |
|
---|
| 82 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 83 | href="glibc.xml"
|
---|
| 84 | xpointer="xpointer(//*[@os='dd'])"/>
|
---|
| 85 |
|
---|
| 86 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 87 | href="glibc.xml"
|
---|
| 88 | xpointer="xpointer(//*[@os='de'])"/>
|
---|
| 89 |
|
---|
| 90 | <para>Now we make sure the Glibc goes into <filename
|
---|
| 91 | class="directory">/tools/lib32</filename>:</para>
|
---|
| 92 |
|
---|
| 93 | <screen><userinput>echo "slibdir=/tools/lib32" >> configparms</userinput></screen>
|
---|
| 94 |
|
---|
| 95 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 96 | href="glibc.xml"
|
---|
| 97 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 98 |
|
---|
| 99 | <screen><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILDN32}" \
|
---|
| 100 | AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \
|
---|
| 101 | ../glibc-&glibc-version;/configure --prefix=/tools \
|
---|
| 102 | --host=${LFS_TARGET} --build=${LFS_HOST} --libdir=/tools/lib32 \
|
---|
| 103 | --disable-profile --enable-add-ons \
|
---|
| 104 | --with-tls --enable-kernel=2.6.0 --with-__thread \
|
---|
| 105 | --with-binutils=/cross-tools/bin --with-headers=/tools/include \
|
---|
| 106 | --cache-file=config.cache</userinput></screen>
|
---|
| 107 |
|
---|
| 108 | <variablelist os="fa">
|
---|
| 109 | <title>The meaning of the new configure options:</title>
|
---|
| 110 |
|
---|
| 111 | <varlistentry os="fa1">
|
---|
| 112 | <term><parameter>CC="${LFS_TARGET}-gcc ${BUILDN32}"</parameter></term>
|
---|
| 113 | <listitem>
|
---|
| 114 | <para>This switch do ... .</para>
|
---|
| 115 | </listitem>
|
---|
| 116 | </varlistentry>
|
---|
| 117 |
|
---|
| 118 | <varlistentry>
|
---|
| 119 | <term><parameter>--libdir=/tools/lib32</parameter></term>
|
---|
| 120 | <listitem>
|
---|
| 121 | <para>This switch do ... .</para>
|
---|
| 122 | </listitem>
|
---|
| 123 | </varlistentry>
|
---|
| 124 |
|
---|
| 125 | </variablelist>
|
---|
| 126 |
|
---|
| 127 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 128 | href="glibc.xml"
|
---|
| 129 | xpointer="xpointer(//*[@os='dj'])"/>
|
---|
| 130 |
|
---|
| 131 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 132 | href="glibc.xml"
|
---|
| 133 | xpointer="xpointer(//*[@os='dk'])"/>
|
---|
| 134 |
|
---|
| 135 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 136 | href="glibc.xml"
|
---|
| 137 | xpointer="xpointer(//*[@os='dl'])"/>
|
---|
| 138 |
|
---|
| 139 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 140 | href="glibc.xml"
|
---|
| 141 | xpointer="xpointer(//*[@os='dm'])"/>
|
---|
| 142 |
|
---|
| 143 | </sect2>
|
---|
| 144 |
|
---|
| 145 | <sect2 role="content">
|
---|
| 146 | <title/>
|
---|
| 147 |
|
---|
| 148 | <para>Details on this package are located in <xref
|
---|
| 149 | linkend="contents-glibc" role="."/></para>
|
---|
| 150 |
|
---|
| 151 | </sect2>
|
---|
| 152 |
|
---|
| 153 | </sect1>
|
---|