[12e7efe2] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[c439b8a] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[12e7efe2] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-cross-tools-glibc" role="wrap">
|
---|
| 9 | <title>Glibc-&glibc-version;</title>
|
---|
| 10 |
|
---|
| 11 | <?dbhtml filename="glibc.html"?>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-cross-tools-glibc">
|
---|
| 14 | <primary sortas="a-Glibc">Glibc</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 18 | href="../common/glibc.xml"
|
---|
| 19 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
| 20 |
|
---|
| 21 | <sect2 role="installation">
|
---|
| 22 | <title>Installation of Glibc</title>
|
---|
| 23 |
|
---|
| 24 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 25 | href="../common/glibc.xml"
|
---|
| 26 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
| 27 |
|
---|
| 28 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 29 | href="../arm/glibc.xml"
|
---|
| 30 | xpointer="xpointer(//*[@os='u1'])"/>
|
---|
| 31 |
|
---|
| 32 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 33 | href="../arm/glibc.xml"
|
---|
| 34 | xpointer="xpointer(//*[@os='u2'])"/>
|
---|
| 35 |
|
---|
| 36 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 37 | href="../common/glibc.xml"
|
---|
| 38 | xpointer="xpointer(//*[@os='p1'])"/>
|
---|
| 39 |
|
---|
| 40 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 41 | href="../common/glibc.xml"
|
---|
| 42 | xpointer="xpointer(//*[@os='p2'])"/>
|
---|
| 43 |
|
---|
| 44 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 45 | href="../common/glibc.xml"
|
---|
| 46 | xpointer="xpointer(//*[@os='p3'])"/>
|
---|
| 47 |
|
---|
| 48 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 49 | href="../common/glibc.xml"
|
---|
| 50 | xpointer="xpointer(//*[@os='p4'])"/>
|
---|
| 51 |
|
---|
| 52 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 53 | href="../common/glibc.xml"
|
---|
| 54 | xpointer="xpointer(//*[@os='p5'])"/>
|
---|
| 55 |
|
---|
| 56 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 57 | href="../common/glibc.xml"
|
---|
| 58 | xpointer="xpointer(//*[@os='p6'])"/>
|
---|
| 59 |
|
---|
[9568bd5] | 60 | <para os="hp1">This patch adds the TLS reloc numbers so Glibc can compile
|
---|
[fd94a60] | 61 | with working NPTL support.</para>
|
---|
| 62 |
|
---|
[9568bd5] | 63 | <screen os="hp2"><userinput>patch -Np1 -i ../&glibc-hppa_nptl-patch;</userinput></screen>
|
---|
[fd94a60] | 64 |
|
---|
[12e7efe2] | 65 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 66 | href="../common/glibc.xml"
|
---|
| 67 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
| 68 |
|
---|
| 69 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 70 | href="../common/glibc.xml"
|
---|
| 71 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
| 72 |
|
---|
| 73 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 74 | href="../common/glibc.xml"
|
---|
| 75 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
| 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="../common/glibc.xml"
|
---|
| 87 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 88 |
|
---|
| 89 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 90 | href="../common/glibc.xml"
|
---|
| 91 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
| 92 |
|
---|
[9568bd5] | 93 | <screen os="i"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc" \
|
---|
| 94 | AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \
|
---|
| 95 | ../glibc-&glibc-version;/configure --prefix=/usr \
|
---|
| 96 | --libexecdir=/usr/lib/glibc --host=${CLFS_TARGET} --build=${CLFS_HOST} \
|
---|
| 97 | --disable-profile --enable-add-ons --with-tls --enable-kernel=2.6.9 \
|
---|
| 98 | --with-__thread --with-binutils=${CLFS}/cross-tools/bin \
|
---|
| 99 | --with-headers=${CLFS}/usr/include --cache-file=config.cache</userinput></screen>
|
---|
[12e7efe2] | 100 |
|
---|
| 101 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 102 | href="../common/glibc.xml"
|
---|
| 103 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
| 104 |
|
---|
| 105 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 106 | href="../common/glibc.xml"
|
---|
| 107 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
| 108 |
|
---|
| 109 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 110 | href="../common/glibc.xml"
|
---|
| 111 | xpointer="xpointer(//*[@os='l'])"/>
|
---|
| 112 |
|
---|
| 113 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 114 | href="../common/glibc.xml"
|
---|
| 115 | xpointer="xpointer(//*[@os='m'])"/>
|
---|
| 116 |
|
---|
| 117 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 118 | href="../common/glibc.xml"
|
---|
| 119 | xpointer="xpointer(//*[@os='n'])"/>
|
---|
| 120 |
|
---|
| 121 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 122 | href="../common/glibc.xml"
|
---|
| 123 | xpointer="xpointer(//*[@os='o'])"/>
|
---|
| 124 |
|
---|
| 125 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 126 | href="../common/glibc.xml"
|
---|
| 127 | xpointer="xpointer(//*[@os='p'])"/>
|
---|
| 128 |
|
---|
| 129 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 130 | href="../common/glibc.xml"
|
---|
| 131 | xpointer="xpointer(//*[@os='q'])"/>
|
---|
| 132 |
|
---|
| 133 | </sect2>
|
---|
| 134 |
|
---|
| 135 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 136 | href="../common/glibc.xml"
|
---|
| 137 | xpointer="xpointer(id('i18n-glibc'))"/>
|
---|
| 138 |
|
---|
| 139 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 140 | href="../common/glibc.xml"
|
---|
| 141 | xpointer="xpointer(id('conf-glibc'))"/>
|
---|
| 142 |
|
---|
| 143 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 144 | href="../common/glibc.xml"
|
---|
| 145 | xpointer="xpointer(id('conf-ld'))"/>
|
---|
| 146 |
|
---|
| 147 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 148 | href="../common/glibc.xml"
|
---|
| 149 | xpointer="xpointer(id('contents-glibc'))"/>
|
---|
| 150 |
|
---|
| 151 | </sect1>
|
---|