[93d0ea2c] | 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 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-cross-tools-glibc" role="wrap">
|
---|
| 9 | <?dbhtml filename="glibc.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Glibc-&glibc-linuxthreads-version;</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-cross-tools-glibc">
|
---|
| 14 | <primary sortas="a-Glibc">Glibc</primary>
|
---|
| 15 | <secondary>cross tools</secondary>
|
---|
| 16 | </indexterm>
|
---|
| 17 |
|
---|
| 18 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 19 | href="../../final-system/common/glibc.xml"
|
---|
| 20 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
| 21 |
|
---|
| 22 | <sect2 role="installation">
|
---|
| 23 | <title>Installation of Glibc</title>
|
---|
| 24 |
|
---|
| 25 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 26 | href="../common/glibc.xml"
|
---|
| 27 | xpointer="xpointer(//*[@os='da'])"/>
|
---|
| 28 |
|
---|
| 29 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 30 | href="../../final-system/sparcv8/glibc.xml"
|
---|
| 31 | xpointer="xpointer(//*[@os='l1'])"/>
|
---|
| 32 |
|
---|
| 33 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 34 | href="../../final-system/sparcv8/glibc.xml"
|
---|
| 35 | xpointer="xpointer(//*[@os='l2'])"/>
|
---|
| 36 |
|
---|
[a3e3be0] | 37 | <para os="l3">If you require libidn support, you can add it
|
---|
| 38 | by unpacking <filename>glibc-libidn-&glibc-linuxthreads-version;</filename>
|
---|
| 39 | tarball from within the <filename class="directory">glibc-&glibc-linuxthreads-version;</filename>
|
---|
| 40 | directory. If you use libidn here, you will also need to build it during
|
---|
| 41 | the final-system build.</para>
|
---|
[93d0ea2c] | 42 |
|
---|
| 43 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 44 | href="../../final-system/sparcv8/glibc.xml"
|
---|
| 45 | xpointer="xpointer(//*[@os='l4'])"/>
|
---|
| 46 |
|
---|
| 47 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 48 | href="../common/glibc.xml"
|
---|
| 49 | xpointer="xpointer(//*[@os='db'])"/>
|
---|
| 50 |
|
---|
[579e4b2] | 51 | <screen os="dc"><userinput>patch -Np1 -i ../&glibc-linuxthreads-libgcc_eh-patch;</userinput></screen>
|
---|
| 52 |
|
---|
[93d0ea2c] | 53 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 54 | href="../common/glibc.xml"
|
---|
[579e4b2] | 55 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
[93d0ea2c] | 56 |
|
---|
| 57 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 58 | href="../../final-system/sparcv8/glibc.xml"
|
---|
[579e4b2] | 59 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
[93d0ea2c] | 60 |
|
---|
| 61 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 62 | href="../../final-system/sparcv8/glibc.xml"
|
---|
[579e4b2] | 63 | xpointer="xpointer(//*[@os='s1'])"/>
|
---|
[93d0ea2c] | 64 |
|
---|
| 65 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[579e4b2] | 66 | href="../../final-system/sparcv8/glibc.xml"
|
---|
| 67 | xpointer="xpointer(//*[@os='s2'])"/>
|
---|
[93d0ea2c] | 68 |
|
---|
| 69 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[579e4b2] | 70 | href="../../final-system/sparcv8/glibc.xml"
|
---|
| 71 | xpointer="xpointer(//*[@os='l5'])"/>
|
---|
| 72 |
|
---|
| 73 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 74 | href="../../final-system/sparcv8/glibc.xml"
|
---|
| 75 | xpointer="xpointer(//*[@os='l6'])"/>
|
---|
[93d0ea2c] | 76 |
|
---|
| 77 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 78 | href="../common/glibc.xml"
|
---|
| 79 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
| 80 |
|
---|
| 81 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 82 | href="../common/glibc.xml"
|
---|
| 83 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 84 |
|
---|
| 85 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 86 | href="../../final-system/common/glibc.xml"
|
---|
| 87 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 88 |
|
---|
| 89 | <screen os="df"><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc" \
|
---|
| 90 | AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \
|
---|
| 91 | ../glibc-&glibc-linuxthreads-version;/configure --prefix=/tools \
|
---|
| 92 | --host=${LFS_TARGET} --build=${LFS_HOST} \
|
---|
| 93 | --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
|
---|
| 94 | --with-binutils=/cross-tools/bin --with-headers=/tools/include</userinput></screen>
|
---|
| 95 |
|
---|
| 96 | <variablelist os="dg">
|
---|
| 97 | <title>The meaning of the new configure options:</title>
|
---|
| 98 |
|
---|
| 99 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 100 | href="../common/glibc.xml"
|
---|
| 101 | xpointer="xpointer(//*[@os='dg1'])"/>
|
---|
| 102 |
|
---|
| 103 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 104 | href="../common/glibc.xml"
|
---|
| 105 | xpointer="xpointer(//*[@os='dg2'])"/>
|
---|
| 106 |
|
---|
| 107 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 108 | href="../common/glibc.xml"
|
---|
| 109 | xpointer="xpointer(//*[@os='dg3'])"/>
|
---|
| 110 |
|
---|
| 111 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 112 | href="../common/glibc.xml"
|
---|
| 113 | xpointer="xpointer(//*[@os='dg4'])"/>
|
---|
| 114 |
|
---|
| 115 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 116 | href="../common/glibc.xml"
|
---|
| 117 | xpointer="xpointer(//*[@os='dg5'])"/>
|
---|
| 118 |
|
---|
| 119 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 120 | href="../common/glibc.xml"
|
---|
| 121 | xpointer="xpointer(//*[@os='dg6'])"/>
|
---|
| 122 |
|
---|
| 123 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 124 | href="../common/glibc.xml"
|
---|
| 125 | xpointer="xpointer(//*[@os='dg9'])"/>
|
---|
| 126 |
|
---|
| 127 | </variablelist>
|
---|
| 128 |
|
---|
| 129 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 130 | href="../common/glibc.xml"
|
---|
| 131 | xpointer="xpointer(//*[@os='dh'])"/>
|
---|
| 132 |
|
---|
| 133 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 134 | href="../common/glibc.xml"
|
---|
| 135 | xpointer="xpointer(//*[@os='di'])"/>
|
---|
| 136 |
|
---|
| 137 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 138 | href="../common/glibc.xml"
|
---|
| 139 | xpointer="xpointer(//*[@os='dj'])"/>
|
---|
| 140 |
|
---|
| 141 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 142 | href="../common/glibc.xml"
|
---|
| 143 | xpointer="xpointer(//*[@os='dk'])"/>
|
---|
| 144 |
|
---|
| 145 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 146 | href="../common/glibc.xml"
|
---|
| 147 | xpointer="xpointer(//*[@os='dl'])"/>
|
---|
| 148 |
|
---|
| 149 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 150 | href="../common/glibc.xml"
|
---|
| 151 | xpointer="xpointer(//*[@os='dm'])"/>
|
---|
| 152 |
|
---|
| 153 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 154 | href="../common/glibc.xml"
|
---|
| 155 | xpointer="xpointer(//*[@os='dn'])"/>
|
---|
| 156 |
|
---|
| 157 | </sect2>
|
---|
| 158 |
|
---|
| 159 | <sect2 role="content">
|
---|
| 160 | <title/>
|
---|
| 161 |
|
---|
| 162 | <para>Details on this package are located in <xref
|
---|
| 163 | linkend="contents-glibc" role="."/></para>
|
---|
| 164 |
|
---|
| 165 | </sect2>
|
---|
| 166 |
|
---|
| 167 | </sect1>
|
---|