- Timestamp:
- 01/23/2005 05:47:16 PM (20 years ago)
- Children:
- 0fb69dd
- Parents:
- 6a1593df
- Location:
- chapter06
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/glibc.xml
r6a1593df ra50b6b7 46 46 of achieving a clean build.</para> 47 47 48 <para arch=" raq2">NPTL is not supported under the MIPSarchitecture, so we are going to48 <para arch="ppc;raq2">NPTL is not supported under this architecture, so we are going to 49 49 remove the nptl directory from the Glibc source:</para> 50 50 51 <screen arch=" raq2"><userinput>rm -rf nptl*</userinput></screen>51 <screen arch="ppc;raq2"><userinput>rm -rf nptl*</userinput></screen> 52 52 53 53 <para arch="raq2">This patch contains all the necessary patches for MIPS based system.</para> -
chapter06/linux-libc-headers-alpha.xml
r6a1593df ra50b6b7 12 12 </indexterm> 13 13 14 <sect2 role="package"><title/> 15 <para>The Linux-Libc-Headers package contains the 16 <quote>sanitized</quote> kernel headers.</para> 17 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 24 <segmentedlist> 25 <segtitle>Linux-Libc-Headers installation depends on</segtitle> 26 <seglistitem><seg>Coreutils</seg></seglistitem> 27 </segmentedlist> 28 29 </sect2> 14 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 15 href="../chapter06/linux-libc-headers.xml" 16 xpointer="xpointer(/sect1/sect2[@role='package'])"/> 30 17 31 18 <sect2 role="installation"> 32 19 <title>Installation of Linux-Libc-Headers</title> 33 20 34 <para>For years it has been common practice to use <quote>raw</quote> 35 kernel headers (straight from a kernel tarball) in <filename 36 class="directory">/usr/include</filename>, but over the last few 37 years, the kernel developers have taken a strong stance that this 38 should not be done. This gave birth to the Linux-Libc-Headers Project, 39 which was designed to maintain an API stable version of the Linux 40 headers.</para> 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 22 href="../chapter06/linux-libc-headers.xml" 23 xpointer="xpointer(/sect1/sect2[@role='installation']/para[1])"/> 41 24 42 25 <para>Install the header files:</para> … … 56 39 </sect2> 57 40 58 59 <sect2 id="contents-linux-libc-headers" role="content"><title>Contents of Linux-Libc-Headers</title> 60 61 <segmentedlist> 62 <segtitle>Installed headers</segtitle> 63 <seglistitem><seg>/usr/include/{asm,linux}/*.h</seg></seglistitem> 64 </segmentedlist> 65 66 <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead> 67 <?dbfo list-presentation="list"?> 68 69 <varlistentry id="linux-libc-headers"> 70 <term><filename class="headerfile">/usr/include/{asm,linux}/*.h</filename></term> 71 <listitem> 72 <para>The Linux headers API</para> 73 <indexterm zone="ch-system-linux-libc-headers linux-libc-headers"><primary sortas="e-/usr/include/{asm,linux}/*.h">/usr/include/{asm,linux}/*.h</primary></indexterm> 74 </listitem> 75 </varlistentry> 76 </variablelist> 77 78 </sect2> 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 42 href="../chapter06/linux-libc-headers.xml" 43 xpointer="xpointer(/sect1/sect2[@role='content'])"/> 79 44 80 45 </sect1> -
chapter06/linux-libc-headers-ppc.xml
r6a1593df ra50b6b7 12 12 </indexterm> 13 13 14 <sect2 role="package"><title/> 15 <para>The Linux-Libc-Headers package contains the 16 <quote>sanitized</quote> kernel headers.</para> 17 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 24 <segmentedlist> 25 <segtitle>Linux-Libc-Headers installation depends on</segtitle> 26 <seglistitem><seg>Coreutils</seg></seglistitem> 27 </segmentedlist> 28 29 </sect2> 14 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 15 href="../chapter06/linux-libc-headers.xml" 16 xpointer="xpointer(/sect1/sect2[@role='package'])"/> 30 17 31 18 <sect2 role="installation"> 32 19 <title>Installation of Linux-Libc-Headers</title> 33 20 34 <para>For years it has been common practice to use <quote>raw</quote> 35 kernel headers (straight from a kernel tarball) in <filename 36 class="directory">/usr/include</filename>, but over the last few 37 years, the kernel developers have taken a strong stance that this 38 should not be done. This gave birth to the Linux-Libc-Headers Project, 39 which was designed to maintain an API stable version of the Linux 40 headers.</para> 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 22 href="../chapter06/linux-libc-headers.xml" 23 xpointer="xpointer(/sect1/sect2[@role='installation']/para[1])"/> 41 24 42 25 <para>Install the header files:</para> … … 56 39 </sect2> 57 40 58 59 <sect2 id="contents-linux-libc-headers" role="content"><title>Contents of Linux-Libc-Headers</title> 60 61 <segmentedlist> 62 <segtitle>Installed headers</segtitle> 63 <seglistitem><seg>/usr/include/{asm,linux}/*.h</seg></seglistitem> 64 </segmentedlist> 65 66 <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead> 67 <?dbfo list-presentation="list"?> 68 69 <varlistentry id="linux-libc-headers"> 70 <term><filename class="headerfile">/usr/include/{asm,linux}/*.h</filename></term> 71 <listitem> 72 <para>The Linux headers API</para> 73 <indexterm zone="ch-system-linux-libc-headers linux-libc-headers"><primary sortas="e-/usr/include/{asm,linux}/*.h">/usr/include/{asm,linux}/*.h</primary></indexterm> 74 </listitem> 75 </varlistentry> 76 </variablelist> 77 78 </sect2> 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 42 href="../chapter06/linux-libc-headers.xml" 43 xpointer="xpointer(/sect1/sect2[@role='content'])"/> 79 44 80 45 </sect1> -
chapter06/linux-libc-headers-raq2.xml
r6a1593df ra50b6b7 12 12 </indexterm> 13 13 14 <sect2 role="package"><title/> 15 <para>The Linux-Libc-Headers package contains the 16 <quote>sanitized</quote> kernel headers.</para> 17 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 24 <segmentedlist> 25 <segtitle>Linux-Libc-Headers installation depends on</segtitle> 26 <seglistitem><seg>Coreutils</seg></seglistitem> 27 </segmentedlist> 28 29 </sect2> 14 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 15 href="../chapter06/linux-libc-headers.xml" 16 xpointer="xpointer(/sect1/sect2[@role='package'])"/> 30 17 31 18 <sect2 role="installation"> 32 19 <title>Installation of Linux-Libc-Headers</title> 33 20 34 <para>For years it has been common practice to use <quote>raw</quote> 35 kernel headers (straight from a kernel tarball) in <filename 36 class="directory">/usr/include</filename>, but over the last few 37 years, the kernel developers have taken a strong stance that this 38 should not be done. This gave birth to the Linux-Libc-Headers Project, 39 which was designed to maintain an API stable version of the Linux 40 headers.</para> 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 22 href="../chapter06/linux-libc-headers.xml" 23 xpointer="xpointer(/sect1/sect2[@role='installation']/para[1])"/> 41 24 42 25 <para>This patch fixes a compile issue with Glibc on a RaQ2 server.</para> … … 60 43 </sect2> 61 44 62 63 <sect2 id="contents-linux-libc-headers" role="content"><title>Contents of Linux-Libc-Headers</title> 64 65 <segmentedlist> 66 <segtitle>Installed headers</segtitle> 67 <seglistitem><seg>/usr/include/{asm,linux}/*.h</seg></seglistitem> 68 </segmentedlist> 69 70 <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead> 71 <?dbfo list-presentation="list"?> 72 73 <varlistentry id="linux-libc-headers"> 74 <term><filename class="headerfile">/usr/include/{asm,linux}/*.h</filename></term> 75 <listitem> 76 <para>The Linux headers API</para> 77 <indexterm zone="ch-system-linux-libc-headers linux-libc-headers"><primary sortas="e-/usr/include/{asm,linux}/*.h">/usr/include/{asm,linux}/*.h</primary></indexterm> 78 </listitem> 79 </varlistentry> 80 </variablelist> 81 82 </sect2> 45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 46 href="../chapter06/linux-libc-headers.xml" 47 xpointer="xpointer(/sect1/sect2[@role='content'])"/> 83 48 84 49 </sect1> -
chapter06/linux-libc-headers.xml
r6a1593df ra50b6b7 45 45 cp -R include/linux /usr/include</userinput></screen> 46 46 47 <screen arch="ppc"><userinput>cp -R include/asm-ppc /usr/include/asm48 cp -R include/linux /usr/include</userinput></screen>49 50 47 <para>Ensure that all the headers are owned by root:</para> 51 48 -
chapter06/patch.xml
r6a1593df ra50b6b7 31 31 <para>Prepare Patch for compilation:</para> 32 32 33 <!-- This is temporally until can test if there is other ways to do it --> 34 35 <screen arch="x86"><userinput>./configure --prefix=/tools</userinput></screen> 36 37 <screen arch="raq2"><userinput>./configure --prefix=/tools</userinput></screen> 33 <screen arch="x86;alpha;raq2"><userinput>./configure --prefix=/tools</userinput></screen> 38 34 39 35 <screen arch="ppc"><userinput>CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/tools</userinput></screen>
Note:
See TracChangeset
for help on using the changeset viewer.