[fbaffde] | 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-headers" role="wrap">
|
---|
| 9 | <?dbhtml filename="glibc-headers.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Glibc-&glibc-version; Headers</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-cross-tools-glibc-headers">
|
---|
| 14 | <primary sortas="a-Glibc">Glibc</primary>
|
---|
| 15 | <secondary>cross tools, headers</secondary>
|
---|
| 16 | </indexterm>
|
---|
| 17 |
|
---|
| 18 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 19 | href="../../final-system/common/glibc.xml"
|
---|
| 20 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
| 21 |
|
---|
| 22 | <sect2 role="installation">
|
---|
| 23 | <title>Installation of Glibc Headers</title>
|
---|
| 24 |
|
---|
| 25 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[7482ad3] | 26 | href="../alpha/glibc-headers.xml"
|
---|
[fbaffde] | 27 | xpointer="xpointer(//*[@os='s1'])"/>
|
---|
| 28 |
|
---|
| 29 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[7482ad3] | 30 | href="../alpha/glibc-headers.xml"
|
---|
[fbaffde] | 31 | xpointer="xpointer(//*[@os='s2'])"/>
|
---|
| 32 |
|
---|
| 33 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 34 | href="../../final-system/common/glibc.xml"
|
---|
| 35 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
| 36 |
|
---|
| 37 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 38 | href="../../final-system/common/glibc.xml"
|
---|
| 39 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 40 |
|
---|
| 41 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 42 | href="../common/glibc.xml"
|
---|
| 43 | xpointer="xpointer(//*[@os='dd'])"/>
|
---|
| 44 |
|
---|
| 45 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 46 | href="../ppc/glibc.xml"
|
---|
| 47 | xpointer="xpointer(//*[@os='de'])"/>
|
---|
| 48 |
|
---|
[a80ea23] | 49 | <para>We need to persuade <command>configure</command> that the host's
|
---|
| 50 | compiler has all the necessary modern powerpc64 extensions. It will still
|
---|
| 51 | pass flags such as <literal>-mnew-abi</literal> which are likely to trigger
|
---|
| 52 | error messages on a non-ppc host, but the headers can be built. We do this
|
---|
| 53 | by adding the following lines to <filename>config.cache</filename>. Note
|
---|
| 54 | that one of these has three consecutive underscores.</para>
|
---|
| 55 |
|
---|
| 56 | <screen><userinput>echo "libc_cv_mlong_double_128ibm=yes" >> config.cache
|
---|
| 57 | echo "libc_cv_mlong_double_128=yes" >> config.cache
|
---|
| 58 | echo "libc_cv_powerpc64_tls=yes" >> config.cache
|
---|
| 59 | echo "libc_cv_initfini_array=yes" >>config.cache
|
---|
| 60 | echo "libc_cv_gcc___thread=yes" >>config.cache</userinput></screen>
|
---|
| 61 |
|
---|
[fbaffde] | 62 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 63 | href="../../final-system/common/glibc.xml"
|
---|
| 64 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 65 |
|
---|
| 66 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[7482ad3] | 67 | href="../alpha/glibc-headers.xml"
|
---|
[fbaffde] | 68 | xpointer="xpointer(//*[@os='s3'])"/>
|
---|
| 69 |
|
---|
| 70 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[7482ad3] | 71 | href="../alpha/glibc-headers.xml"
|
---|
[fbaffde] | 72 | xpointer="xpointer(//*[@os='e1'])"/>
|
---|
| 73 |
|
---|
| 74 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[7482ad3] | 75 | href="../alpha/glibc-headers.xml"
|
---|
[fbaffde] | 76 | xpointer="xpointer(//*[@os='ca'])"/>
|
---|
| 77 |
|
---|
| 78 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[7482ad3] | 79 | href="../alpha/glibc-headers.xml"
|
---|
[fbaffde] | 80 | xpointer="xpointer(//*[@os='cb'])"/>
|
---|
| 81 |
|
---|
| 82 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[7482ad3] | 83 | href="../alpha/glibc-headers.xml"
|
---|
[fbaffde] | 84 | xpointer="xpointer(//*[@os='cd'])"/>
|
---|
| 85 |
|
---|
| 86 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[7482ad3] | 87 | href="../alpha/glibc-headers.xml"
|
---|
[fbaffde] | 88 | xpointer="xpointer(//*[@os='ce'])"/>
|
---|
| 89 |
|
---|
| 90 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[7482ad3] | 91 | href="../alpha/glibc-headers.xml"
|
---|
[fbaffde] | 92 | xpointer="xpointer(//*[@os='cf'])"/>
|
---|
| 93 |
|
---|
| 94 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[7482ad3] | 95 | href="../alpha/glibc-headers.xml"
|
---|
[fbaffde] | 96 | xpointer="xpointer(//*[@os='cg'])"/>
|
---|
| 97 |
|
---|
| 98 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[7482ad3] | 99 | href="../alpha/glibc-headers.xml"
|
---|
[fbaffde] | 100 | xpointer="xpointer(//*[@os='ch'])"/>
|
---|
| 101 |
|
---|
| 102 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[7482ad3] | 103 | href="../alpha/glibc-headers.xml"
|
---|
[fbaffde] | 104 | xpointer="xpointer(//*[@os='ci'])"/>
|
---|
| 105 |
|
---|
| 106 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[7482ad3] | 107 | href="../alpha/glibc-headers.xml"
|
---|
[fbaffde] | 108 | xpointer="xpointer(//*[@os='cj'])"/>
|
---|
| 109 |
|
---|
| 110 | <screen os="cm"><userinput>cp -v ../glibc-&glibc-version;/nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h /tools/include/bits/</userinput></screen>
|
---|
| 111 |
|
---|
| 112 | </sect2>
|
---|
| 113 |
|
---|
| 114 | <sect2 role="content">
|
---|
| 115 | <title/>
|
---|
| 116 |
|
---|
| 117 | <para>Details on this package are located in <xref
|
---|
| 118 | linkend="contents-glibc" role="."/></para>
|
---|
| 119 |
|
---|
| 120 | </sect2>
|
---|
| 121 |
|
---|
| 122 | </sect1>
|
---|