[a9e389d] | 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-uclibc-headers" role="wrap">
|
---|
| 9 | <?dbhtml filename="uclibc-headers.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>uClibc-&uclibc-version; Headers</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-cross-tools-uclibc-headers">
|
---|
| 14 | <primary sortas="a-uClibc">uClibc</primary>
|
---|
| 15 | <secondary>cross tools, headers</secondary>
|
---|
| 16 | </indexterm>
|
---|
| 17 |
|
---|
| 18 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 19 | href="uclibc.xml"
|
---|
| 20 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
| 21 |
|
---|
| 22 | <sect2 role="installation">
|
---|
| 23 | <title>Installation of uClibc Headers</title>
|
---|
| 24 |
|
---|
[e666df1] | 25 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 26 | href="uclibc.xml"
|
---|
| 27 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
[a9e389d] | 28 |
|
---|
[e666df1] | 29 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 30 | href="uclibc.xml"
|
---|
| 31 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
[a9e389d] | 32 |
|
---|
[e666df1] | 33 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 34 | href="uclibc.xml"
|
---|
| 35 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
| 36 |
|
---|
| 37 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 38 | href="uclibc.xml"
|
---|
| 39 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 40 |
|
---|
[0bd108d] | 41 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 42 | href="uclibc.xml"
|
---|
| 43 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 44 |
|
---|
| 45 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 46 | href="uclibc.xml"
|
---|
| 47 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
| 48 |
|
---|
[492e5a3] | 49 | <screen os="d1"><userinput>cp .config .config.orig
|
---|
| 50 | sed -e "/^KERNEL_SOURCE/s:=.*:=\"${CLFS}/usr\":" \
|
---|
| 51 | -e "/^SHARED_LIB_LOADER_PREFIX/s:=.*:=\"/lib\":" \
|
---|
| 52 | -e "/^DEVEL_PREFIX/s:=.*:=\"/usr\":" \
|
---|
| 53 | -e "/^RUNTIME_PREFIX/s:=.*:=\"/\":" \
|
---|
| 54 | .config.orig > .config</userinput></screen>
|
---|
| 55 |
|
---|
[e666df1] | 56 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 57 | href="uclibc.xml"
|
---|
[0bd108d] | 58 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
[e666df1] | 59 |
|
---|
| 60 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 61 | href="uclibc.xml"
|
---|
[0bd108d] | 62 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
[a9e389d] | 63 |
|
---|
[492e5a3] | 64 | <para os="d2">Create the Headers:</para>
|
---|
[a9e389d] | 65 |
|
---|
[492e5a3] | 66 | <screen os="d3"><userinput>make TARGET_ARCH=i386 headers</userinput></screen>
|
---|
[a9e389d] | 67 |
|
---|
[e666df1] | 68 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 69 | href="uclibc.xml"
|
---|
[0bd108d] | 70 | xpointer="xpointer(//*[@os='n'])"/>
|
---|
[a9e389d] | 71 |
|
---|
[e666df1] | 72 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 73 | href="uclibc.xml"
|
---|
[0bd108d] | 74 | xpointer="xpointer(//*[@os='o'])"/>
|
---|
[a9e389d] | 75 |
|
---|
[e57d05e] | 76 | <para os="p">Copy the headers:</para>
|
---|
[492e5a3] | 77 |
|
---|
| 78 | <screen os="d5"><userinput>cp -a include/* ${CLFS}/usr/include</userinput></screen>
|
---|
[a9e389d] | 79 |
|
---|
| 80 | </sect2>
|
---|
| 81 |
|
---|
| 82 | <sect2 role="content" id="contents-uclibc-headers">
|
---|
| 83 | <title/>
|
---|
| 84 |
|
---|
| 85 | <para>Details on this package are located in <xref
|
---|
| 86 | linkend="contents-uclibc" role="."/></para>
|
---|
| 87 |
|
---|
| 88 | </sect2>
|
---|
| 89 |
|
---|
| 90 | </sect1>
|
---|