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