[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 | |
---|
[cbbd1e4] | 8 | <sect1 id="ch-cross-tools-glibc" role="wrap"> |
---|
| 9 | <?dbhtml filename="glibc.html"?> |
---|
[44426cf] | 10 | |
---|
[cbbd1e4] | 11 | <title>GLIBC-&glibc-version;</title> |
---|
[44426cf] | 12 | |
---|
[cbbd1e4] | 13 | <indexterm zone="ch-cross-tools-glibc"> |
---|
| 14 | <primary sortas="a-GLIBC">GLIBC</primary> |
---|
[44426cf] | 15 | <secondary>cross tools</secondary> |
---|
| 16 | </indexterm> |
---|
| 17 | |
---|
[dabbced] | 18 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
[cbbd1e4] | 19 | href="../../final-system/common/glibc.xml" |
---|
[44426cf] | 20 | xpointer="xpointer(//*[@role='package'])"/> |
---|
| 21 | |
---|
| 22 | <sect2 role="installation"> |
---|
[cbbd1e4] | 23 | <title>Installation of GLIBC</title> |
---|
[44426cf] | 24 | |
---|
[dabbced] | 25 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
[cbbd1e4] | 26 | href="../common/glibc.xml" |
---|
[44426cf] | 27 | xpointer="xpointer(//*[@os='da'])"/> |
---|
| 28 | |
---|
[00a58649] | 29 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
[cbbd1e4] | 30 | href="../../final-system/common/glibc.xml" |
---|
[00a58649] | 31 | xpointer="xpointer(//*[@os='s1'])"/> |
---|
| 32 | |
---|
| 33 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
[cbbd1e4] | 34 | href="../../final-system/common/glibc.xml" |
---|
[00a58649] | 35 | xpointer="xpointer(//*[@os='s2'])"/> |
---|
| 36 | |
---|
[dabbced] | 37 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
[cbbd1e4] | 38 | href="../common/glibc.xml" |
---|
[44426cf] | 39 | xpointer="xpointer(//*[@os='e'])"/> |
---|
| 40 | |
---|
[dabbced] | 41 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
[cbbd1e4] | 42 | href="../common/glibc.xml" |
---|
[44426cf] | 43 | xpointer="xpointer(//*[@os='f'])"/> |
---|
| 44 | |
---|
[dabbced] | 45 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
[cbbd1e4] | 46 | href="../common/glibc.xml" |
---|
[44426cf] | 47 | xpointer="xpointer(//*[@os='dd'])"/> |
---|
| 48 | |
---|
[dabbced] | 49 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
[cbbd1e4] | 50 | href="../common/glibc.xml" |
---|
[44426cf] | 51 | xpointer="xpointer(//*[@os='de'])"/> |
---|
| 52 | |
---|
[dabbced] | 53 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
[cbbd1e4] | 54 | href="../../final-system/common/glibc.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" \ |
---|
[446bf69] | 59 | CFLAGS="-march=$(cut -d- -f1 <<< $CLFS_TARGET) -O2" \ |
---|
[cbbd1e4] | 60 | ../glibc-&glibc-version;/configure --prefix=/tools \ |
---|
[44426cf] | 61 | --host=${CLFS_TARGET} --build=${CLFS_HOST} \ |
---|
[82b753e0] | 62 | --disable-profile --with-tls --enable-kernel=2.6.32 --with-__thread \ |
---|
[44426cf] | 63 | --with-binutils=/cross-tools/bin --with-headers=/tools/include \ |
---|
[52ed4da] | 64 | --enable-obsolete-rpc --cache-file=config.cache</userinput></screen> |
---|
[44426cf] | 65 | |
---|
| 66 | <variablelist os="dg"> |
---|
| 67 | <title>The meaning of the new configure options:</title> |
---|
| 68 | |
---|
[dabbced] | 69 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
[cbbd1e4] | 70 | href="../common/glibc.xml" |
---|
[44426cf] | 71 | xpointer="xpointer(//*[@os='dg1'])"/> |
---|
| 72 | |
---|
[dabbced] | 73 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
[cbbd1e4] | 74 | href="../common/glibc.xml" |
---|
[44426cf] | 75 | xpointer="xpointer(//*[@os='dg2'])"/> |
---|
| 76 | |
---|
[dabbced] | 77 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
[cbbd1e4] | 78 | href="../common/glibc.xml" |
---|
[44426cf] | 79 | xpointer="xpointer(//*[@os='dg3'])"/> |
---|
| 80 | |
---|
[dabbced] | 81 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
[cbbd1e4] | 82 | href="../common/glibc.xml" |
---|
[44426cf] | 83 | xpointer="xpointer(//*[@os='dg4'])"/> |
---|
| 84 | |
---|
| 85 | <varlistentry os="ea2"> |
---|
| 86 | <term><parameter>CFLAGS="-march=$(cut -d- -f1 <<< |
---|
[446bf69] | 87 | $CLFS_TARGET)" -O2</parameter></term> |
---|
[44426cf] | 88 | <listitem> |
---|
[cbbd1e4] | 89 | <para>Forces GLIBC to optimize for our target system.</para> |
---|
[44426cf] | 90 | </listitem> |
---|
| 91 | </varlistentry> |
---|
| 92 | |
---|
[dabbced] | 93 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
[cbbd1e4] | 94 | href="../common/glibc.xml" |
---|
[44426cf] | 95 | xpointer="xpointer(//*[@os='dg5'])"/> |
---|
| 96 | |
---|
[dabbced] | 97 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
[cbbd1e4] | 98 | href="../common/glibc.xml" |
---|
[44426cf] | 99 | xpointer="xpointer(//*[@os='dg6'])"/> |
---|
| 100 | |
---|
[dabbced] | 101 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
[cbbd1e4] | 102 | href="../common/glibc.xml" |
---|
[44426cf] | 103 | xpointer="xpointer(//*[@os='dg7'])"/> |
---|
| 104 | |
---|
[dabbced] | 105 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
[cbbd1e4] | 106 | href="../common/glibc.xml" |
---|
[44426cf] | 107 | xpointer="xpointer(//*[@os='dg8'])"/> |
---|
| 108 | |
---|
[dabbced] | 109 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
[cbbd1e4] | 110 | href="../common/glibc.xml" |
---|
[44426cf] | 111 | xpointer="xpointer(//*[@os='dg9'])"/> |
---|
| 112 | |
---|
[dabbced] | 113 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
[cbbd1e4] | 114 | href="../common/glibc.xml" |
---|
[44426cf] | 115 | xpointer="xpointer(//*[@os='dg10'])"/> |
---|
| 116 | |
---|
[dabbced] | 117 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
[cbbd1e4] | 118 | href="../common/glibc.xml" |
---|
[213aa8a9] | 119 | xpointer="xpointer(//*[@os='dg11'])"/> |
---|
| 120 | |
---|
[44426cf] | 121 | </variablelist> |
---|
| 122 | |
---|
[dabbced] | 123 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
[cbbd1e4] | 124 | href="../common/glibc.xml" |
---|
[44426cf] | 125 | xpointer="xpointer(//*[@os='dh'])"/> |
---|
| 126 | |
---|
[dabbced] | 127 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
[cbbd1e4] | 128 | href="../common/glibc.xml" |
---|
[44426cf] | 129 | xpointer="xpointer(//*[@os='di'])"/> |
---|
| 130 | |
---|
[dabbced] | 131 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
[cbbd1e4] | 132 | href="../common/glibc.xml" |
---|
[44426cf] | 133 | xpointer="xpointer(//*[@os='dj'])"/> |
---|
| 134 | |
---|
[dabbced] | 135 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
[cbbd1e4] | 136 | href="../common/glibc.xml" |
---|
[44426cf] | 137 | xpointer="xpointer(//*[@os='dk'])"/> |
---|
| 138 | |
---|
[dabbced] | 139 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
[cbbd1e4] | 140 | href="../common/glibc.xml" |
---|
[44426cf] | 141 | xpointer="xpointer(//*[@os='dl'])"/> |
---|
| 142 | |
---|
[dabbced] | 143 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
[cbbd1e4] | 144 | href="../common/glibc.xml" |
---|
[44426cf] | 145 | xpointer="xpointer(//*[@os='dm'])"/> |
---|
| 146 | |
---|
[dabbced] | 147 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
[cbbd1e4] | 148 | href="../common/glibc.xml" |
---|
[44426cf] | 149 | xpointer="xpointer(//*[@os='dn'])"/> |
---|
| 150 | |
---|
| 151 | </sect2> |
---|
| 152 | |
---|
| 153 | <sect2 role="content"> |
---|
| 154 | <title/> |
---|
| 155 | |
---|
| 156 | <para>Details on this package are located in <xref |
---|
[cbbd1e4] | 157 | linkend="contents-glibc" role="."/></para> |
---|
[44426cf] | 158 | |
---|
| 159 | </sect2> |
---|
| 160 | |
---|
| 161 | </sect1> |
---|