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