Changeset a50b6b7


Ignore:
Timestamp:
01/23/2005 05:47:16 PM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Children:
0fb69dd
Parents:
6a1593df
Message:

Avoiding duplicated text in chapter06

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multi-arch/BOOK@4558 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
chapter06
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • chapter06/glibc.xml

    r6a1593df ra50b6b7  
    4646of achieving a clean build.</para>
    4747
    48 <para arch="raq2">NPTL is not supported under the MIPS architecture, so we are going to
     48<para arch="ppc;raq2">NPTL is not supported under this architecture, so we are going to
    4949remove the nptl directory from the Glibc source:</para>
    5050
    51 <screen arch="raq2"><userinput>rm -rf nptl*</userinput></screen>
     51<screen arch="ppc;raq2"><userinput>rm -rf nptl*</userinput></screen>
    5252
    5353<para arch="raq2">This patch contains all the necessary patches for MIPS based system.</para>
  • chapter06/linux-libc-headers-alpha.xml

    r6a1593df ra50b6b7  
    1212</indexterm>
    1313
    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'])"/>
    3017
    3118<sect2 role="installation">
    3219<title>Installation of Linux-Libc-Headers</title>
    3320
    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])"/>
    4124
    4225<para>Install the header files:</para>
     
    5639</sect2>
    5740
    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'])"/>
    7944
    8045</sect1>
  • chapter06/linux-libc-headers-ppc.xml

    r6a1593df ra50b6b7  
    1212</indexterm>
    1313
    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'])"/>
    3017
    3118<sect2 role="installation">
    3219<title>Installation of Linux-Libc-Headers</title>
    3320
    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])"/>
    4124
    4225<para>Install the header files:</para>
     
    5639</sect2>
    5740
    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'])"/>
    7944
    8045</sect1>
  • chapter06/linux-libc-headers-raq2.xml

    r6a1593df ra50b6b7  
    1212</indexterm>
    1313
    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'])"/>
    3017
    3118<sect2 role="installation">
    3219<title>Installation of Linux-Libc-Headers</title>
    3320
    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])"/>
    4124
    4225<para>This patch fixes a compile issue with Glibc on a RaQ2 server.</para>
     
    6043</sect2>
    6144
    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'])"/>
    8348
    8449</sect1>
  • chapter06/linux-libc-headers.xml

    r6a1593df ra50b6b7  
    4545cp -R include/linux /usr/include</userinput></screen>
    4646
    47 <screen arch="ppc"><userinput>cp -R include/asm-ppc /usr/include/asm
    48 cp -R include/linux /usr/include</userinput></screen>
    49 
    5047<para>Ensure that all the headers are owned by root:</para>
    5148
  • chapter06/patch.xml

    r6a1593df ra50b6b7  
    3131<para>Prepare Patch for compilation:</para>
    3232
    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>
    3834
    3935<screen arch="ppc"><userinput>CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/tools</userinput></screen>
Note: See TracChangeset for help on using the changeset viewer.