[519ee45] | 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-tools-linux-libc-headers" role="wrap">
|
---|
| 9 | <?dbhtml filename="linux-libc-headers.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Linux-Libc-Headers-&linux-libc-headers-version;</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-tools-linux-libc-headers">
|
---|
| 14 | <primary sortas="a-Linux-Libc-Headers">Linux-Libc-Headers</primary>
|
---|
| 15 | <secondary>tools, headers</secondary>
|
---|
| 16 | </indexterm>
|
---|
| 17 |
|
---|
| 18 | <sect2 role="package">
|
---|
| 19 | <title/>
|
---|
| 20 |
|
---|
| 21 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 22 | href="../chapter06/linux-libc-headers.xml"
|
---|
| 23 | xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
|
---|
| 24 |
|
---|
| 25 | <segmentedlist>
|
---|
| 26 | <segtitle>&buildtime;</segtitle>
|
---|
| 27 | <segtitle>&diskspace;</segtitle>
|
---|
| 28 |
|
---|
| 29 | <seglistitem>
|
---|
| 30 | <seg>&linux-libc-headers-ch5-sbu;</seg>
|
---|
| 31 | <seg>&linux-libc-headers-ch5-du;</seg>
|
---|
| 32 | </seglistitem>
|
---|
| 33 | </segmentedlist>
|
---|
| 34 |
|
---|
| 35 | </sect2>
|
---|
| 36 |
|
---|
| 37 | <sect2 role="installation">
|
---|
| 38 | <title>Installation of Linux-Libc-Headers</title>
|
---|
| 39 |
|
---|
| 40 | <para>For years it has been common practice to use <quote>raw</quote>
|
---|
| 41 | kernel headers (straight from a kernel tarball) in <filename
|
---|
| 42 | class="directory">/usr/include</filename>, but over the last few years,
|
---|
| 43 | the kernel developers have taken a strong stance that this should not
|
---|
| 44 | be done. This gave birth to the Linux-Libc-Headers Project, which was
|
---|
| 45 | designed to maintain an Application Programming Interface (API) stable
|
---|
| 46 | version of the Linux headers.</para>
|
---|
| 47 |
|
---|
| 48 | <para>Install the header files:</para>
|
---|
| 49 |
|
---|
| 50 | <screen><userinput>cp -Rv include/asm-i386 /tools/include/asm
|
---|
| 51 | cp -Rv include/linux /tools/include</userinput></screen>
|
---|
| 52 |
|
---|
| 53 | <para>If your architecture is not i386 (compatible), adjust the first command
|
---|
| 54 | accordingly.</para>
|
---|
| 55 |
|
---|
| 56 | </sect2>
|
---|
| 57 |
|
---|
| 58 | <sect2 role="content">
|
---|
| 59 | <title/>
|
---|
| 60 |
|
---|
| 61 | <para>Details on this package are located in
|
---|
| 62 | <xref linkend="contents-linux-libc-headers" role="."/></para>
|
---|
| 63 |
|
---|
| 64 | </sect2>
|
---|
| 65 |
|
---|
| 66 | </sect1>
|
---|