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

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since b083a692 was e4a5635, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Replaced "<" by "less than".

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

  • Property mode set to 100644
File size: 2.0 KB
RevLine 
[9dfc02f]1<?xml version="1.0" encoding="ISO-8859-1"?>
[7b82580]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]>
[7b82580]7
[9652249]8<sect1 id="ch-tools-linux-libc-headers" role="wrap">
[7b82580]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
[7b82580]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
[7b82580]25 <segmentedlist>
26 <segtitle>&buildtime;</segtitle>
27 <segtitle>&diskspace;</segtitle>
[9dfc02f]28
[7b82580]29 <seglistitem>
[e4a5635]30 <seg>&linux-libc-headers-ch5-sbu;</seg>
31 <seg>&linux-libc-headers-ch5-du;</seg>
[7b82580]32 </seglistitem>
33 </segmentedlist>
[9dfc02f]34
[7b82580]35 </sect2>
[9652249]36
[7b82580]37 <sect2 role="installation">
38 <title>Installation of Linux-Libc-Headers</title>
[9dfc02f]39
[7b82580]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>
[81fd230]47
[7b82580]48 <para>Install the header files:</para>
[9dfc02f]49
[b85d4d3]50<screen><userinput>cp -Rv include/asm-i386 /tools/include/asm
51cp -Rv include/linux /tools/include</userinput></screen>
[9dfc02f]52
[7b82580]53 <para>If your architecture is not i386 (compatible), adjust the first command
54 accordingly.</para>
[81fd230]55
[7b82580]56 </sect2>
[81fd230]57
[7b82580]58 <sect2 role="content">
59 <title/>
[9dfc02f]60
[7b82580]61 <para>Details on this package are located in
62 <xref linkend="contents-linux-libc-headers" role="."/></para>
63
64 </sect2>
[81fd230]65
[7b82580]66</sect1>
Note: See TracBrowser for help on using the repository browser.