[44426cf] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
[093b0e8] | 8 | <sect1 id="ch-cross-tools-eglibc" role="wrap">
|
---|
| 9 | <?dbhtml filename="eglibc.html"?>
|
---|
[44426cf] | 10 |
|
---|
[093b0e8] | 11 | <title>EGLIBC-&eglibc-version;</title>
|
---|
[44426cf] | 12 |
|
---|
[093b0e8] | 13 | <indexterm zone="ch-cross-tools-eglibc">
|
---|
| 14 | <primary sortas="a-EGLIBC">EGLIBC</primary>
|
---|
[44426cf] | 15 | <secondary>cross tools</secondary>
|
---|
| 16 | </indexterm>
|
---|
| 17 |
|
---|
[dabbced] | 18 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 19 | href="../../final-system/common/eglibc.xml"
|
---|
[44426cf] | 20 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
| 21 |
|
---|
| 22 | <sect2 role="installation">
|
---|
[093b0e8] | 23 | <title>Installation of EGLIBC</title>
|
---|
[44426cf] | 24 |
|
---|
[dabbced] | 25 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 26 | href="../common/eglibc.xml"
|
---|
[44426cf] | 27 | xpointer="xpointer(//*[@os='da'])"/>
|
---|
| 28 |
|
---|
[dabbced] | 29 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 30 | href="../common/eglibc.xml"
|
---|
[44426cf] | 31 | xpointer="xpointer(//*[@os='db'])"/>
|
---|
| 32 |
|
---|
[dabbced] | 33 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 34 | href="../common/eglibc.xml"
|
---|
[44426cf] | 35 | xpointer="xpointer(//*[@os='dc'])"/>
|
---|
| 36 |
|
---|
[dabbced] | 37 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 38 | href="../common/eglibc.xml"
|
---|
[44426cf] | 39 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
| 40 |
|
---|
[dabbced] | 41 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 42 | href="../common/eglibc.xml"
|
---|
[44426cf] | 43 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 44 |
|
---|
[dabbced] | 45 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 46 | href="../common/eglibc.xml"
|
---|
[44426cf] | 47 | xpointer="xpointer(//*[@os='dd'])"/>
|
---|
| 48 |
|
---|
[dabbced] | 49 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 50 | href="../common/eglibc.xml"
|
---|
[44426cf] | 51 | xpointer="xpointer(//*[@os='de'])"/>
|
---|
| 52 |
|
---|
[dabbced] | 53 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 54 | href="../../final-system/common/eglibc.xml"
|
---|
[44426cf] | 55 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 56 |
|
---|
| 57 | <screen os="df"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc" \
|
---|
| 58 | AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \
|
---|
| 59 | CFLAGS="-march=$(cut -d- -f1 <<< $CLFS_TARGET) -mtune=generic -g -O2" \
|
---|
[093b0e8] | 60 | ../eglibc-&eglibc-version;/configure --prefix=/tools \
|
---|
[44426cf] | 61 | --host=${CLFS_TARGET} --build=${CLFS_HOST} \
|
---|
| 62 | --disable-profile --enable-add-ons \
|
---|
| 63 | --with-tls --enable-kernel=2.6.0 --with-__thread \
|
---|
| 64 | --with-binutils=/cross-tools/bin --with-headers=/tools/include \
|
---|
| 65 | --cache-file=config.cache</userinput></screen>
|
---|
| 66 |
|
---|
| 67 | <variablelist os="dg">
|
---|
| 68 | <title>The meaning of the new configure options:</title>
|
---|
| 69 |
|
---|
[dabbced] | 70 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 71 | href="../common/eglibc.xml"
|
---|
[44426cf] | 72 | xpointer="xpointer(//*[@os='dg1'])"/>
|
---|
| 73 |
|
---|
[dabbced] | 74 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 75 | href="../common/eglibc.xml"
|
---|
[44426cf] | 76 | xpointer="xpointer(//*[@os='dg2'])"/>
|
---|
| 77 |
|
---|
[dabbced] | 78 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 79 | href="../common/eglibc.xml"
|
---|
[44426cf] | 80 | xpointer="xpointer(//*[@os='dg3'])"/>
|
---|
| 81 |
|
---|
[dabbced] | 82 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 83 | href="../common/eglibc.xml"
|
---|
[44426cf] | 84 | xpointer="xpointer(//*[@os='dg4'])"/>
|
---|
| 85 |
|
---|
| 86 | <varlistentry os="ea2">
|
---|
| 87 | <term><parameter>CFLAGS="-march=$(cut -d- -f1 <<<
|
---|
| 88 | $CLFS_TARGET) -mtune=generic -g -O2"</parameter></term>
|
---|
| 89 | <listitem>
|
---|
[093b0e8] | 90 | <para>Forces EGLIBC to optimize for our target system.</para>
|
---|
[44426cf] | 91 | </listitem>
|
---|
| 92 | </varlistentry>
|
---|
| 93 |
|
---|
[dabbced] | 94 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 95 | href="../common/eglibc.xml"
|
---|
[44426cf] | 96 | xpointer="xpointer(//*[@os='dg5'])"/>
|
---|
| 97 |
|
---|
[dabbced] | 98 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 99 | href="../common/eglibc.xml"
|
---|
[44426cf] | 100 | xpointer="xpointer(//*[@os='dg6'])"/>
|
---|
| 101 |
|
---|
[dabbced] | 102 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 103 | href="../common/eglibc.xml"
|
---|
[44426cf] | 104 | xpointer="xpointer(//*[@os='dg7'])"/>
|
---|
| 105 |
|
---|
[dabbced] | 106 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 107 | href="../common/eglibc.xml"
|
---|
[44426cf] | 108 | xpointer="xpointer(//*[@os='dg8'])"/>
|
---|
| 109 |
|
---|
[dabbced] | 110 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 111 | href="../common/eglibc.xml"
|
---|
[44426cf] | 112 | xpointer="xpointer(//*[@os='dg9'])"/>
|
---|
| 113 |
|
---|
[dabbced] | 114 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 115 | href="../common/eglibc.xml"
|
---|
[44426cf] | 116 | xpointer="xpointer(//*[@os='dg10'])"/>
|
---|
| 117 |
|
---|
[dabbced] | 118 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 119 | href="../common/eglibc.xml"
|
---|
[213aa8a9] | 120 | xpointer="xpointer(//*[@os='dg11'])"/>
|
---|
| 121 |
|
---|
[dabbced] | 122 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 123 | href="../common/eglibc.xml"
|
---|
[213aa8a9] | 124 | xpointer="xpointer(//*[@os='dg12'])"/>
|
---|
| 125 |
|
---|
[44426cf] | 126 | </variablelist>
|
---|
| 127 |
|
---|
[dabbced] | 128 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 129 | href="../common/eglibc.xml"
|
---|
[44426cf] | 130 | xpointer="xpointer(//*[@os='dh'])"/>
|
---|
| 131 |
|
---|
[dabbced] | 132 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 133 | href="../common/eglibc.xml"
|
---|
[44426cf] | 134 | xpointer="xpointer(//*[@os='di'])"/>
|
---|
| 135 |
|
---|
[dabbced] | 136 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 137 | href="../common/eglibc.xml"
|
---|
[44426cf] | 138 | xpointer="xpointer(//*[@os='dj'])"/>
|
---|
| 139 |
|
---|
[dabbced] | 140 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 141 | href="../common/eglibc.xml"
|
---|
[44426cf] | 142 | xpointer="xpointer(//*[@os='dk'])"/>
|
---|
| 143 |
|
---|
[dabbced] | 144 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 145 | href="../common/eglibc.xml"
|
---|
[44426cf] | 146 | xpointer="xpointer(//*[@os='dl'])"/>
|
---|
| 147 |
|
---|
[dabbced] | 148 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 149 | href="../common/eglibc.xml"
|
---|
[44426cf] | 150 | xpointer="xpointer(//*[@os='dm'])"/>
|
---|
| 151 |
|
---|
[dabbced] | 152 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 153 | href="../common/eglibc.xml"
|
---|
[44426cf] | 154 | xpointer="xpointer(//*[@os='dn'])"/>
|
---|
| 155 |
|
---|
| 156 | </sect2>
|
---|
| 157 |
|
---|
| 158 | <sect2 role="content">
|
---|
| 159 | <title/>
|
---|
| 160 |
|
---|
| 161 | <para>Details on this package are located in <xref
|
---|
[093b0e8] | 162 | linkend="contents-eglibc" role="."/></para>
|
---|
[44426cf] | 163 |
|
---|
| 164 | </sect2>
|
---|
| 165 |
|
---|
| 166 | </sect1>
|
---|