[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 |
|
---|
[2270211] | 60 | <!--
|
---|
[9568bd5] | 61 | <para os="hp1">This patch adds the TLS reloc numbers so Glibc can compile
|
---|
[fd94a60] | 62 | with working NPTL support.</para>
|
---|
| 63 |
|
---|
[9568bd5] | 64 | <screen os="hp2"><userinput>patch -Np1 -i ../&glibc-hppa_nptl-patch;</userinput></screen>
|
---|
[2270211] | 65 | -->
|
---|
[fd94a60] | 66 |
|
---|
[12e7efe2] | 67 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 68 | href="../common/glibc.xml"
|
---|
| 69 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
| 70 |
|
---|
| 71 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 72 | href="../common/glibc.xml"
|
---|
| 73 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
| 74 |
|
---|
| 75 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 76 | href="../common/glibc.xml"
|
---|
| 77 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
| 78 |
|
---|
| 79 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 80 | href="../common/glibc.xml"
|
---|
| 81 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
| 82 |
|
---|
| 83 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 84 | href="../common/glibc.xml"
|
---|
| 85 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 86 |
|
---|
| 87 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 88 | href="../common/glibc.xml"
|
---|
| 89 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 90 |
|
---|
| 91 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 92 | href="../common/glibc.xml"
|
---|
| 93 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
| 94 |
|
---|
[9568bd5] | 95 | <screen os="i"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc" \
|
---|
| 96 | AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \
|
---|
| 97 | ../glibc-&glibc-version;/configure --prefix=/usr \
|
---|
| 98 | --libexecdir=/usr/lib/glibc --host=${CLFS_TARGET} --build=${CLFS_HOST} \
|
---|
| 99 | --disable-profile --enable-add-ons --with-tls --enable-kernel=2.6.9 \
|
---|
| 100 | --with-__thread --with-binutils=${CLFS}/cross-tools/bin \
|
---|
| 101 | --with-headers=${CLFS}/usr/include --cache-file=config.cache</userinput></screen>
|
---|
[12e7efe2] | 102 |
|
---|
| 103 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 104 | href="../common/glibc.xml"
|
---|
| 105 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
| 106 |
|
---|
| 107 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 108 | href="../common/glibc.xml"
|
---|
| 109 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
| 110 |
|
---|
| 111 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 112 | href="../common/glibc.xml"
|
---|
| 113 | xpointer="xpointer(//*[@os='l'])"/>
|
---|
| 114 |
|
---|
| 115 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 116 | href="../common/glibc.xml"
|
---|
| 117 | xpointer="xpointer(//*[@os='m'])"/>
|
---|
| 118 |
|
---|
| 119 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 120 | href="../common/glibc.xml"
|
---|
| 121 | xpointer="xpointer(//*[@os='n'])"/>
|
---|
| 122 |
|
---|
| 123 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 124 | href="../common/glibc.xml"
|
---|
| 125 | xpointer="xpointer(//*[@os='o'])"/>
|
---|
| 126 |
|
---|
| 127 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 128 | href="../common/glibc.xml"
|
---|
| 129 | xpointer="xpointer(//*[@os='p'])"/>
|
---|
| 130 |
|
---|
| 131 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 132 | href="../common/glibc.xml"
|
---|
| 133 | xpointer="xpointer(//*[@os='q'])"/>
|
---|
| 134 |
|
---|
| 135 | </sect2>
|
---|
| 136 |
|
---|
| 137 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 138 | href="../common/glibc.xml"
|
---|
| 139 | xpointer="xpointer(id('i18n-glibc'))"/>
|
---|
| 140 |
|
---|
| 141 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 142 | href="../common/glibc.xml"
|
---|
| 143 | xpointer="xpointer(id('conf-glibc'))"/>
|
---|
| 144 |
|
---|
| 145 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 146 | href="../common/glibc.xml"
|
---|
| 147 | xpointer="xpointer(id('conf-ld'))"/>
|
---|
| 148 |
|
---|
| 149 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 150 | href="../common/glibc.xml"
|
---|
| 151 | xpointer="xpointer(id('contents-glibc'))"/>
|
---|
| 152 |
|
---|
| 153 | </sect1>
|
---|