[bf8c11f] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | <!ENTITY % patches-entities SYSTEM "../../patches.ent">
|
---|
| 6 | %general-entities;
|
---|
| 7 | %patches-entities;
|
---|
| 8 | ]>
|
---|
| 9 |
|
---|
| 10 | <sect1 id="ch-cross-tools-glibc-64" role="wrap">
|
---|
| 11 | <?dbhtml filename="glibc-64.html"?>
|
---|
| 12 |
|
---|
| 13 | <title>Glibc-&glibc-version; 64-Bit</title>
|
---|
| 14 |
|
---|
| 15 | <indexterm zone="ch-cross-tools-glibc-64">
|
---|
| 16 | <primary sortas="a-Glibc">Glibc</primary>
|
---|
| 17 | <secondary>cross tools, 64 Bit</secondary>
|
---|
| 18 | </indexterm>
|
---|
| 19 |
|
---|
[48f8316] | 20 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 21 | href="../../final-system/common/glibc.xml"
|
---|
| 22 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
[bf8c11f] | 23 |
|
---|
| 24 | <sect2 role="installation">
|
---|
| 25 | <title>Installation of Glibc</title>
|
---|
| 26 |
|
---|
| 27 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 28 | href="glibc.xml"
|
---|
| 29 | xpointer="xpointer(//*[@os='da'])"/>
|
---|
| 30 |
|
---|
| 31 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 32 | href="glibc.xml"
|
---|
| 33 | xpointer="xpointer(//*[@os='db'])"/>
|
---|
| 34 |
|
---|
| 35 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 36 | href="glibc.xml"
|
---|
| 37 | xpointer="xpointer(//*[@os='dc'])"/>
|
---|
| 38 |
|
---|
| 39 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 40 | href="glibc.xml"
|
---|
| 41 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
| 42 |
|
---|
| 43 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 44 | href="glibc.xml"
|
---|
| 45 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 46 |
|
---|
| 47 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 48 | href="glibc.xml"
|
---|
| 49 | xpointer="xpointer(//*[@os='dd'])"/>
|
---|
| 50 |
|
---|
| 51 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 52 | href="glibc.xml"
|
---|
| 53 | xpointer="xpointer(//*[@os='de'])"/>
|
---|
| 54 |
|
---|
| 55 | <para>Now we make sure the Glibc goes into <filename
|
---|
| 56 | class="directory">/tools/lib64</filename>:</para>
|
---|
| 57 |
|
---|
| 58 | <screen><userinput>echo "slibdir=/tools/lib64" >> configparms</userinput></screen>
|
---|
| 59 |
|
---|
| 60 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 61 | href="glibc.xml"
|
---|
| 62 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 63 |
|
---|
| 64 | <screen><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILD64}" \
|
---|
| 65 | AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \
|
---|
| 66 | ../glibc-&glibc-version;/configure --prefix=/tools \
|
---|
| 67 | --host=${LFS_TARGET} --build=${LFS_HOST} --libdir=/tools/lib64 \
|
---|
| 68 | --disable-profile --enable-add-ons \
|
---|
| 69 | --with-tls --enable-kernel=2.6.0 --with-__thread \
|
---|
| 70 | --with-binutils=/cross-tools/bin --with-headers=/tools/include \
|
---|
| 71 | --cache-file=config.cache</userinput></screen>
|
---|
| 72 |
|
---|
| 73 | <variablelist os="fa">
|
---|
| 74 | <title>The meaning of the new configure options:</title>
|
---|
| 75 |
|
---|
| 76 | <varlistentry os="fa1">
|
---|
| 77 | <term><parameter>CC="${LFS_TARGET}-gcc ${BUILD64}"</parameter></term>
|
---|
| 78 | <listitem>
|
---|
| 79 | <para>This switch do ... .</para>
|
---|
| 80 | </listitem>
|
---|
| 81 | </varlistentry>
|
---|
| 82 |
|
---|
| 83 | <varlistentry>
|
---|
| 84 | <term><parameter>--libdir=/tools/lib64</parameter></term>
|
---|
| 85 | <listitem>
|
---|
| 86 | <para>This switch do ... .</para>
|
---|
| 87 | </listitem>
|
---|
| 88 | </varlistentry>
|
---|
| 89 |
|
---|
| 90 | </variablelist>
|
---|
| 91 |
|
---|
| 92 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 93 | href="glibc.xml"
|
---|
| 94 | xpointer="xpointer(//*[@os='dj'])"/>
|
---|
| 95 |
|
---|
| 96 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 97 | href="glibc.xml"
|
---|
| 98 | xpointer="xpointer(//*[@os='dk'])"/>
|
---|
| 99 |
|
---|
| 100 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 101 | href="glibc.xml"
|
---|
| 102 | xpointer="xpointer(//*[@os='dl'])"/>
|
---|
| 103 |
|
---|
| 104 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 105 | href="glibc.xml"
|
---|
| 106 | xpointer="xpointer(//*[@os='dm'])"/>
|
---|
| 107 |
|
---|
| 108 | </sect2>
|
---|
| 109 |
|
---|
| 110 | <sect2 role="content">
|
---|
| 111 | <title/>
|
---|
| 112 |
|
---|
| 113 | <para>Details on this package are located in <xref
|
---|
| 114 | linkend="contents-glibc" role="."/></para>
|
---|
| 115 |
|
---|
| 116 | </sect2>
|
---|
| 117 |
|
---|
| 118 | </sect1>
|
---|