linux-libc-headers.xml 2.1 KB

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