linux-headers.xml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. <sect1 id="ch-system-linux-headers" role="wrap">
  8. <?dbhtml filename="linux-headers.html"?>
  9. <title>Linux-&linux-version; API Headers</title>
  10. <indexterm zone="ch-system-linux-headers">
  11. <primary sortas="a-Linux">Linux</primary>
  12. <secondary>API headers</secondary>
  13. </indexterm>
  14. <sect2 role="package">
  15. <title/>
  16. <para>The Linux API Headers expose the kernel's API for use by Glibc.</para>
  17. <segmentedlist>
  18. <segtitle>&buildtime;</segtitle>
  19. <segtitle>&diskspace;</segtitle>
  20. <seglistitem>
  21. <seg>&linux-headers-ch6-sbu;</seg>
  22. <seg>&linux-headers-ch6-du;</seg>
  23. </seglistitem>
  24. </segmentedlist>
  25. </sect2>
  26. <sect2 role="installation">
  27. <title>Installation of Linux API Headers</title>
  28. <para>The Linux kernel needs to expose an Application Programming Interface
  29. (API) for the system's C library (Glibc in LFS) to utilize. This is done
  30. by way of sanitizing various C header files that are shipped in the Linux
  31. kernel source tarball.</para>
  32. <para>Install the header files:</para>
  33. <screen><userinput>make mrproper
  34. make headers_check
  35. make INSTALL_HDR_PATH=/usr headers_install</userinput></screen>
  36. </sect2>
  37. <sect2 id="contents-linux-headers" role="content">
  38. <title>Contents of Linux API Headers</title>
  39. <segmentedlist>
  40. <segtitle>Installed headers</segtitle>
  41. <seglistitem>
  42. <seg>/usr/include/{asm,linux}/*.h</seg>
  43. </seglistitem>
  44. </segmentedlist>
  45. <variablelist>
  46. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  47. <?dbfo list-presentation="list"?>
  48. <?dbhtml list-presentation="table"?>
  49. <varlistentry id="linux-headers">
  50. <term><filename class="headerfile">/usr/include/{asm,linux}/*.h</filename></term>
  51. <listitem>
  52. <para>The Linux API headers</para>
  53. <indexterm zone="ch-system-linux-headers linux-headers">
  54. <primary sortas="e-/usr/include/{asm,linux}/*.h">/usr/include/{asm,linux}/*.h</primary>
  55. </indexterm>
  56. </listitem>
  57. </varlistentry>
  58. </variablelist>
  59. </sect2>
  60. </sect1>