linux-libc-headers.xml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. %general-entities;
  5. ]>
  6. <sect1 id="ch-tools-linux-libc-headers" role="wrap">
  7. <title>Linux-Libc-Headers-&linux-libc-headers-version;</title>
  8. <?dbhtml filename="linux-libc-headers.html"?>
  9. <indexterm zone="ch-tools-linux-libc-headers">
  10. <primary sortas="a-Linux-Libc-Headers">Linux-Libc-Headers</primary>
  11. <secondary>tools, headers</secondary></indexterm>
  12. <sect2 role="package"><title/>
  13. <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  14. href="../chapter06/linux-libc-headers.xml"
  15. xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
  16. <segmentedlist>
  17. <segtitle>&buildtime;</segtitle>
  18. <segtitle>&diskspace;</segtitle>
  19. <seglistitem><seg>0.1 SBU</seg><seg>26.9 MB</seg></seglistitem>
  20. </segmentedlist>
  21. <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  22. href="../chapter06/linux-libc-headers.xml"
  23. xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
  24. </sect2>
  25. <sect2 role="installation">
  26. <title>Installation of Linux-Libc-Headers</title>
  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>
  34. <para>Install the header files:</para>
  35. <screen><userinput>cp -Rv include/asm-i386 /tools/include/asm
  36. cp -Rv include/linux /tools/include</userinput></screen>
  37. <para>If your architecture is not i386 (compatible), adjust the first command
  38. accordingly.</para>
  39. </sect2>
  40. <sect2 role="content"><title/>
  41. <para>Details on this package are located in <xref
  42. linkend="contents-linux-libc-headers" role="."/></para>
  43. </sect2>
  44. </sect1>