| 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="../arm/glibc-headers.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"
 | 
|---|
| 26 |     href="../arm/glibc-headers.xml"
 | 
|---|
| 27 |     xpointer="xpointer(//*[@os='s1'])"/>
 | 
|---|
| 28 | 
 | 
|---|
| 29 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 30 |     href="../arm/glibc-headers.xml"
 | 
|---|
| 31 |     xpointer="xpointer(//*[@os='s2'])"/>
 | 
|---|
| 32 | 
 | 
|---|
| 33 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 34 |     href="../arm/glibc-headers.xml"
 | 
|---|
| 35 |     xpointer="xpointer(//*[@os='u1'])"/>
 | 
|---|
| 36 | 
 | 
|---|
| 37 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 38 |     href="../arm/glibc-headers.xml"
 | 
|---|
| 39 |     xpointer="xpointer(//*[@os='u2'])"/>
 | 
|---|
| 40 | 
 | 
|---|
| 41 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 42 |     href="../arm/glibc-headers.xml"
 | 
|---|
| 43 |     xpointer="xpointer(//*[@os='b'])"/>
 | 
|---|
| 44 | 
 | 
|---|
| 45 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 46 |     href="../arm/glibc-headers.xml"
 | 
|---|
| 47 |     xpointer="xpointer(//*[@os='c'])"/>
 | 
|---|
| 48 | 
 | 
|---|
| 49 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 50 |     href="../arm/glibc-headers.xml"
 | 
|---|
| 51 |     xpointer="xpointer(//*[@os='d'])"/>
 | 
|---|
| 52 | 
 | 
|---|
| 53 | <screen os="e"><userinput>echo "libc_cv_forced_unwind=yes" > config.cache
 | 
|---|
| 54 | echo "libc_cv_c_cleanup=yes" >> config.cache
 | 
|---|
| 55 | echo "libc_cv_hppa_tls=yes" >> config.cache</userinput></screen>
 | 
|---|
| 56 | 
 | 
|---|
| 57 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 58 |     href="../arm/glibc-headers.xml"
 | 
|---|
| 59 |     xpointer="xpointer(//*[@os='f'])"/>
 | 
|---|
| 60 | 
 | 
|---|
| 61 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 62 |     href="../arm/glibc-headers.xml"
 | 
|---|
| 63 |     xpointer="xpointer(//*[@os='g'])"/>
 | 
|---|
| 64 | 
 | 
|---|
| 65 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 66 |     href="../arm/glibc-headers.xml"
 | 
|---|
| 67 |     xpointer="xpointer(//*[@os='h'])"/>
 | 
|---|
| 68 | 
 | 
|---|
| 69 | <screen os="i"><userinput>CC=gcc ../glibc-&glibc-version;/configure --prefix=/usr \
 | 
|---|
| 70 |     --host=${CLFS_TARGET} --build=${CLFS_HOST} \
 | 
|---|
| 71 |     --with-headers=${CLFS}/usr/include --enable-hacker-mode \
 | 
|---|
| 72 |     --cache-file=config.cache</userinput></screen>
 | 
|---|
| 73 | 
 | 
|---|
| 74 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 75 |     href="../arm/glibc-headers.xml"
 | 
|---|
| 76 |     xpointer="xpointer(//*[@os='dj'])"/>
 | 
|---|
| 77 | 
 | 
|---|
| 78 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 79 |     href="../arm/glibc-headers.xml"
 | 
|---|
| 80 |     xpointer="xpointer(//*[@os='k'])"/>
 | 
|---|
| 81 | 
 | 
|---|
| 82 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 83 |     href="../arm/glibc-headers.xml"
 | 
|---|
| 84 |     xpointer="xpointer(//*[@os='l'])"/>
 | 
|---|
| 85 | 
 | 
|---|
| 86 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 87 |     href="../arm/glibc-headers.xml"
 | 
|---|
| 88 |     xpointer="xpointer(//*[@os='m'])"/>
 | 
|---|
| 89 | 
 | 
|---|
| 90 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 91 |     href="../arm/glibc-headers.xml"
 | 
|---|
| 92 |     xpointer="xpointer(//*[@os='n'])"/>
 | 
|---|
| 93 | 
 | 
|---|
| 94 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 95 |     href="../arm/glibc-headers.xml"
 | 
|---|
| 96 |     xpointer="xpointer(//*[@os='o'])"/>
 | 
|---|
| 97 | 
 | 
|---|
| 98 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 99 |     href="../arm/glibc-headers.xml"
 | 
|---|
| 100 |     xpointer="xpointer(//*[@os='p'])"/>
 | 
|---|
| 101 | 
 | 
|---|
| 102 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 103 |     href="../arm/glibc-headers.xml"
 | 
|---|
| 104 |     xpointer="xpointer(//*[@os='q'])"/>
 | 
|---|
| 105 | 
 | 
|---|
| 106 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 107 |     href="../arm/glibc-headers.xml"
 | 
|---|
| 108 |     xpointer="xpointer(//*[@os='r'])"/>
 | 
|---|
| 109 | 
 | 
|---|
| 110 | <screen os="s"><userinput>cp -v ../glibc-&glibc-version;/ports/sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h \
 | 
|---|
| 111 |     ${CLFS}/usr/include/bits</userinput></screen>
 | 
|---|
| 112 | 
 | 
|---|
| 113 |   </sect2>
 | 
|---|
| 114 | 
 | 
|---|
| 115 |   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 116 |   href="../arm/glibc-headers.xml"
 | 
|---|
| 117 |   xpointer="xpointer(id('contents-glibc-headers'))"/>
 | 
|---|
| 118 | 
 | 
|---|
| 119 | </sect1>
 | 
|---|