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