source: chapter05/linux-libc-headers.xml@ e869351b

Last change on this file since e869351b was 3b45abb, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Ported r7290 from trunk to alphabetical.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/alphabetical/BOOK@7291 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.2 KB
RevLine 
[9dfc02f]1<?xml version="1.0" encoding="ISO-8859-1"?>
[3b45abb]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
[9dfc02f]4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
[3b45abb]7
[9652249]8<sect1 id="ch-tools-linux-libc-headers" role="wrap">
[3b45abb]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/>
[9dfc02f]20
[3b45abb]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])"/>
[81fd230]24
[3b45abb]25 <segmentedlist>
26 <segtitle>&buildtime;</segtitle>
27 <segtitle>&diskspace;</segtitle>
[9dfc02f]28
[3b45abb]29 <seglistitem>
30 <seg>0.1 SBU</seg>
31 <seg>26.9 MB</seg>
32 </seglistitem>
33 </segmentedlist>
[9dfc02f]34
[3b45abb]35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
36 href="../chapter06/linux-libc-headers.xml"
37 xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
[81fd230]38
39
[3b45abb]40 </sect2>
[9652249]41
[3b45abb]42 <sect2 role="installation">
43 <title>Installation of Linux-Libc-Headers</title>
[9dfc02f]44
[3b45abb]45 <para>For years it has been common practice to use <quote>raw</quote>
46 kernel headers (straight from a kernel tarball) in <filename
47 class="directory">/usr/include</filename>, but over the last few years,
48 the kernel developers have taken a strong stance that this should not
49 be done. This gave birth to the Linux-Libc-Headers Project, which was
50 designed to maintain an Application Programming Interface (API) stable
51 version of the Linux headers.</para>
[81fd230]52
[3b45abb]53 <para>Install the header files:</para>
[9dfc02f]54
[b85d4d3]55<screen><userinput>cp -Rv include/asm-i386 /tools/include/asm
56cp -Rv include/linux /tools/include</userinput></screen>
[9dfc02f]57
[3b45abb]58 <para>If your architecture is not i386 (compatible), adjust the first command
59 accordingly.</para>
[81fd230]60
[3b45abb]61 </sect2>
[81fd230]62
[3b45abb]63 <sect2 role="content">
64 <title/>
[9dfc02f]65
[3b45abb]66 <para>Details on this package are located in
67 <xref linkend="contents-linux-libc-headers" role="."/></para>
68
69 </sect2>
[81fd230]70
[3b45abb]71</sect1>
Note: See TracBrowser for help on using the repository browser.