[9dfc02f] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[1770019] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[9dfc02f] | 3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
[3e36a78] | 4 | <!ENTITY % patches-entities SYSTEM "../patches.ent">
|
---|
[9dfc02f] | 5 | %general-entities;
|
---|
[3e36a78] | 6 | %patches-entities;
|
---|
[9dfc02f] | 7 | ]>
|
---|
[9652249] | 8 | <sect1 id="ch-tools-linux-libc-headers" role="wrap">
|
---|
[9dfc02f] | 9 | <title>Linux-Libc-Headers-&linux-libc-headers-version;</title>
|
---|
| 10 | <?dbhtml filename="linux-libc-headers.html"?>
|
---|
| 11 |
|
---|
[81fd230] | 12 | <indexterm zone="ch-tools-linux-libc-headers">
|
---|
| 13 | <primary sortas="a-Linux-Libc-Headers">Linux-Libc-Headers</primary>
|
---|
| 14 | <secondary>tools, headers</secondary></indexterm>
|
---|
| 15 |
|
---|
[9652249] | 16 | <sect2 role="package"><title/>
|
---|
[81fd230] | 17 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 18 | href="../chapter06/linux-libc-headers.xml"
|
---|
| 19 | xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
|
---|
[9dfc02f] | 20 |
|
---|
[9652249] | 21 | <segmentedlist>
|
---|
| 22 | <segtitle>&buildtime;</segtitle>
|
---|
| 23 | <segtitle>&diskspace;</segtitle>
|
---|
[fad7667] | 24 | <seglistitem><seg>0.1 SBU</seg><seg>26.9 MB</seg></seglistitem>
|
---|
[9652249] | 25 | </segmentedlist>
|
---|
[9dfc02f] | 26 |
|
---|
[81fd230] | 27 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 28 | href="../chapter06/linux-libc-headers.xml"
|
---|
| 29 | xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
|
---|
| 30 |
|
---|
| 31 |
|
---|
[9652249] | 32 | </sect2>
|
---|
| 33 |
|
---|
| 34 | <sect2 role="installation">
|
---|
[9dfc02f] | 35 | <title>Installation of Linux-Libc-Headers</title>
|
---|
| 36 |
|
---|
[81fd230] | 37 | <para>For years it has been common practice to use <quote>raw</quote> kernel
|
---|
| 38 | headers (straight from a kernel tarball) in <filename
|
---|
| 39 | class="directory">/usr/include</filename>, but over the
|
---|
| 40 | last few years, the kernel developers have taken a strong stance that
|
---|
| 41 | this should not be done. This gave birth to the Linux-Libc-Headers
|
---|
| 42 | Project, which was designed to maintain an Application Programming
|
---|
| 43 | Interface (API) stable version of the Linux headers.</para>
|
---|
| 44 |
|
---|
[9dfc02f] | 45 | <para>Install the header files:</para>
|
---|
| 46 |
|
---|
[b85d4d3] | 47 | <screen><userinput>cp -Rv include/asm-i386 /tools/include/asm
|
---|
| 48 | cp -Rv include/linux /tools/include</userinput></screen>
|
---|
[9dfc02f] | 49 |
|
---|
[81fd230] | 50 | <para>If your architecture is not i386 (compatible), adjust the first command
|
---|
| 51 | accordingly.</para>
|
---|
| 52 |
|
---|
| 53 | </sect2>
|
---|
| 54 |
|
---|
| 55 | <sect2 role="content"><title/>
|
---|
| 56 | <para>Details on this package are located in <xref
|
---|
| 57 | linkend="contents-linux-libc-headers" role="."/></para>
|
---|
[9dfc02f] | 58 | </sect2>
|
---|
| 59 |
|
---|
| 60 | </sect1>
|
---|
[81fd230] | 61 |
|
---|