Changes in / [350ab24:31cfd067]


Ignore:
Location:
BOOK
Files:
4 added
9 deleted
21 edited

Legend:

Unmodified
Added
Removed
  • BOOK/Makefile

    r350ab24 r31cfd067  
    33
    44VALIDATEDIR     := $(RENDERDIR)/validate
    5 DBXMLDIR        := $(RENDERDIR)/docbook
    65PROFILEDIR      := $(RENDERDIR)/profile
    76
     
    2423                   ppc ppc64 ppc64-64
    2524#                  alpha Not tested anymore
    26 
    27 x86_ML          := 32
    28 x86_64_ML       := 32,64
    29 x86_64-64_ML    := 64
    30 sparc_ML        := 32
    31 sparc64_ML      := 32,64
    32 sparc64-64_ML   := 64
    33 mips_ML         := 32
    34 mips64_ML       := 32,n32,64
    35 mips64-64_ML    := 64
    36 ppc_ML          := 32
    37 ppc64_ML        := 32,64
    38 alpha_ML        := 64
    3925
    4026ifdef V
     
    7662$(ARCHS_VD_XML): override arch = $(@:%-validate_dump-xml=%)
    7763$(ARCHS_VD_XML):
    78         @echo "Validating $(arch) against the CLFS Schema..."
     64        @echo "Validating $(arch) book..."
    7965        $(Q)mkdir -p $(VALIDATEDIR)
    8066        $(Q)xmllint --nonet --noent --xinclude \
    81           --relaxng $(TOP)/schema/clfs/0.1/rng/clfs.rng \
     67          --relaxng $(TOP)/schema/docbook/4.5/rng/docbook.rng \
    8268          -o $(VALIDATEDIR)/$(arch)-full.xml \
    83           $(TOP)/$(arch)-index.xml \
    84           2>&1 | grep -v " validates$$"; \
    85           if test $${?} -ne 0; then true; else false; fi
    86 
    87 ARCHS_DB_XML := $(ARCHS:%=%-db-xml)
    88 .PHONY: $(ARCHS_DB_XML)
    89 $(ARCHS_DB_XML): override arch = $(@:%-db-xml=%)
    90 $(ARCHS_DB_XML):
    91         @$(MAKE) --no-print-directory $(arch)-validate_dump-xml
    92         @echo "Generating DocBook XML for $(arch)..."
    93         $(Q)mkdir -p $(DBXMLDIR)
    94         $(Q)xsltproc --nonet \
    95           --stringparam clfs.arch "$(arch)" \
    96           --stringparam clfs.multilib "$($(arch)_ML)" \
    97           --output $(DBXMLDIR)/$(arch)-db.xml \
    98           $(TOP)/stylesheets/clfs-profile.xsl \
    99           $(VALIDATEDIR)/$(arch)-full.xml
     69          $(TOP)/$(arch)-index.xml
    10070
    10171ARCHS_P_XML := $(ARCHS:%=%-profiled-xml)
     
    10373$(ARCHS_P_XML): override arch = $(@:%-profiled-xml=%)
    10474$(ARCHS_P_XML):
    105         @$(MAKE) --no-print-directory $(arch)-db-xml
    106         @echo "Profiling $(arch) for rendering..."
     75        @$(MAKE) --no-print-directory $(arch)-validate_dump-xml
     76        @echo "Generating profiled $(arch) book..."
    10777        $(Q)mkdir -p $(PROFILEDIR)
    108         $(Q)xsltproc --nonet \
    109           --stringparam profile.condition html \
     78        $(Q)xsltproc --nonet --stringparam profile.condition html \
    11079          --output $(PROFILEDIR)/$(arch)-html.xml \
    11180          $(TOP)/stylesheets/lfs-xsl/profile.xsl \
    112           $(DBXMLDIR)/$(arch)-db.xml
    113 
    114 ARCHS_VDB_XML := $(ARCHS:%=%-validate_db-xml)
    115 .PHONY: $(ARCHS_VDB_XML)
    116 $(ARCHS_VDB_XML): override arch = $(@:%-validate_db-xml=%)
    117 $(ARCHS_VDB_XML):
    118         @echo "Validating $(arch) against the DocBook Schema..."
    119         $(Q)xmllint --noout --nonet \
    120           --relaxng $(TOP)/schema/docbook/4.5/rng/docbook.rng \
    121           $(PROFILEDIR)/$(arch)-html.xml \
    122           2>&1 | grep -v " validates$$"; \
    123           if test $${?} -ne 0; then true; else false; fi
     81          $(VALIDATEDIR)/$(arch)-full.xml
    12482
    12583ARCHS_HTML := $(ARCHS:%=%-html)
     
    12987$(ARCHS_HTML):
    13088        @$(MAKE) --no-print-directory $(arch)-profiled-xml
    131         @$(MAKE) --no-print-directory $(arch)-validate_db-xml
    13289
    13390        @echo "Rendering chunked XHTML of $(arch)..."
     
    155112$(ARCHS_NOCHUNKS):
    156113        @$(MAKE) --no-print-directory $(arch)-profiled-xml
    157         @$(MAKE) --no-print-directory $(arch)-validate_db-xml
    158114
    159115        @echo "Rendering Single File HTML of $(arch)..."
     
    172128$(ARCHS_FO):
    173129        @$(MAKE) --no-print-directory $(arch)-profiled-xml
    174         @$(MAKE) --no-print-directory $(arch)-validate_db-xml
    175130
    176131        @echo "Generating FO file of $(arch)..."
     
    198153$(ARCHS_VALIDATE): override arch =  $(@:%-validate=%)
    199154$(ARCHS_VALIDATE):
    200         @echo "Validating $(arch) against the CLFS Schema..."
     155        @echo "Validating $(arch)..."
    201156        $(Q)xmllint --xinclude --noout --nonet \
    202           --relaxng $(TOP)/schema/clfs/0.1/rng/clfs.rng \
    203           $(TOP)/$(arch)-index.xml \
    204           2>&1 | grep -v " validates$$"; \
    205           if test $${?} -ne 0; then true; else false; fi
     157          --relaxng $(TOP)/schema/docbook/4.5/rng/docbook.rng \
     158          $(TOP)/$(arch)-index.xml
    206159
    207160ARCHS_TROUBLE := $(ARCHS:%=%-trouble)
     
    213166        @mkdir -p $(TROUBLEDIR)
    214167        $(Q)xmllint --xinclude --nonet \
    215           --relaxng $(TOP)/schema/clfs/0.1/rng/clfs.rng \
     168          --relaxng $(TOP)/schema/docbook/4.5/rng/docbook.rng \
    216169          -o $(TROUBLEDIR)/dump-$(arch) \
    217           $(TOP)/$(arch)-index.xml \
    218           2>&1 | grep -v " validates$$"; \
    219           if test $${?} -ne 0; then true; else false; fi
     170          $(TOP)/$(arch)-index.xml
    220171        $(Q)xmllint --xinclude --noout --nonet \
    221           --relaxng $(TOP)/schema/clfs/0.1/rng/clfs.rng \
    222           $(TROUBLEDIR)/dump-$(arch) \
    223           2>&1 | grep -v " validates$$"; \
    224           if test $${?} -ne 0; then true; else false; fi
     172          --relaxng $(TOP)/schema/docbook/4.5/rng/docbook.rng \
     173          $(TROUBLEDIR)/dump-$(arch)
    225174        @echo "You can now look at $(TROUBLEDIR)/dump-$(arch) to see the errors"
    226175
  • BOOK/cross-tools/common/m4.xml

    r350ab24 r31cfd067  
    11<?xml version="1.0" encoding="ISO-8859-1"?>
    2 <!DOCTYPE c:package [
     2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
     3  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
    34  <!ENTITY % general-entities SYSTEM "../../general.ent">
    45  %general-entities;
    56]>
    67
    7 <c:package xmlns:c="http://schema.cross-lfs.org/book"
    8            xmlns:xi="http://www.w3.org/2001/XInclude"
    9            id="ch-cross-tools-m4" c:multibuild="false">
     8<sect1 id="ch-cross-tools-m4" role="wrap">
     9  <?dbhtml filename="m4.html"?>
    1010
    11   <c:title>M4</c:title>
    12   <c:version>&m4-version;</c:version>
    13   <c:variant>cross-tools</c:variant>
     11  <title>M4-&m4-version;</title>
    1412
    15   <xi:include href="../../final-system/common/m4.xml"
    16   xpointer="xmlns(co=http://schema.cross-lfs.org/book)
    17             xpointer(/co:package/co:description[1])" />
     13  <indexterm zone="ch-cross-tools-m4">
     14    <primary sortas="a-M4">M4</primary>
     15    <secondary>cross tools</secondary>
     16  </indexterm>
    1817
    19 <c:install> 
     18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     19  href="../../final-system/common/m4.xml"
     20  xpointer="xpointer(//*[@role='package'])"/>
    2021
    21     <c:para>Prepare M4 for compilation:</c:para>
     22  <sect2 role="installation">
     23    <title>Installation of M4</title>
    2224
    23 <c:command>./configure --prefix=/cross-tools</c:command>
     25    <para os="a">Prepare M4 for compilation:</para>
    2426
    25     <c:para>Compile the package:</c:para>
     27<screen os="b"><userinput>./configure --prefix=/cross-tools</userinput></screen>
    2628
    27 <c:command>make</c:command>
     29    <para os="c">Compile the package:</para>
    2830
    29     <c:para>Install the package:</c:para>
     31<screen os="d"><userinput>make</userinput></screen>
    3032
    31 <c:command>make install</c:command>
     33    <para os="e">Install the package:</para>
    3234
    33   </c:install>
     35<screen os="f"><userinput>make install</userinput></screen>
    3436
    35   <c:contents c:ref="ch-system-m4" />
     37  </sect2>
    3638
    37 </c:package>
     39  <sect2 role="content">
     40    <title/>
     41
     42    <para>Details on this package are located in <xref
     43    linkend="contents-m4" role="."/></para>
     44
     45  </sect2>
     46
     47</sect1>
  • BOOK/final-system/common/bash.xml

    r350ab24 r31cfd067  
    11<?xml version="1.0" encoding="ISO-8859-1"?>
    2 <!DOCTYPE c:package [
     2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
     3  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
    34  <!ENTITY % general-entities SYSTEM "../../general.ent">
    45  %general-entities;
    56]>
    67
    7 <c:package xmlns:c="http://schema.cross-lfs.org/book"
    8            id="ch-system-bash" c:multibuild="false">
     8<sect1 id="ch-system-bash" role="wrap">
     9  <?dbhtml filename="bash.html"?>
    910
    10   <c:title>Bash</c:title>
    11   <c:version>&bash-version;</c:version>
    12   <c:description>The Bash package contains the Bourne-Again SHell.</c:description>
     11  <title>Bash-&bash-version;</title>
    1312
    14   <c:install>
     13  <indexterm zone="ch-system-bash">
     14    <primary sortas="a-Bash">Bash</primary>
     15  </indexterm>
    1516
    16     <c:para c:r="p-bu">The following patch contains updates from the maintainer. The
    17     maintainer of Bash only releases these patches to fix serious issues:</c:para>
     17  <sect2 role="package">
     18    <title/>
    1819
    19 <c:command c:r="p-bu">patch -Np1 -i ../&bash-branch_update-patch;</c:command>
     20    <para>The Bash package contains the Bourne-Again SHell.</para>
    2021
    21     <c:para c:multilib="true">The following sed points configure towards the
    22     correct library directory while searching for Readline:</c:para>
     22  </sect2>
    2323
    24 <c:command c:multilib="true">sed -i "/ac_cv_rl_libdir/s@/lib@&amp;64@" configure</c:command>
     24  <sect2 role="installation">
     25    <title>Installation of Bash</title>
    2526
    26     <c:para>Prepare Bash for compilation:</c:para>
     27    <para os="p1">The following patch contains updates from the maintainer. The
     28    maintainer of Bash only releases these patches to fix serious issues:</para>
    2729
    28 <c:command c:multilib="false">./configure --prefix=/usr --bindir=/bin \
     30<screen os="p2"><userinput>patch -Np1 -i ../&bash-branch_update-patch;</userinput></screen>
     31
     32    <para os="a">Prepare Bash for compilation:</para>
     33
     34<screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin \
    2935    --without-bash-malloc --with-installed-readline \
    30     --docdir=/usr/share/doc/bash-&bash-version;</c:command>
    31 <c:command c:multilib="true">CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
    32     ./configure --prefix=/usr --bindir=/bin \
    33     --without-bash-malloc --with-installed-readline \
    34     --docdir=/usr/share/doc/bash-&bash-version;</c:command>
     36    --docdir=/usr/share/doc/bash-&bash-version;</userinput></screen>
    3537
    36 <!--
    37     <variablelist>
     38    <variablelist os="c">
    3839      <title>The meaning of the configure option:</title>
    3940
    4041      <varlistentry>
    41         <term><parameter>-with-installed-readline</parameter></term>
     42        <term><parameter>--with-installed-readline</parameter></term>
    4243        <listitem>
    43           <c:para>This option tells Bash to use the
     44          <para>This option tells Bash to use the
    4445          <filename class="libraryfile">readline</filename> library that is
    4546          already installed on the system rather than using its own readline
    46           version.</c:para>
     47          version.</para>
    4748        </listitem>
    4849      </varlistentry>
    4950    </variablelist>
    50 -->
    51     <c:para>Compile the package:</c:para>
    5251
    53 <c:command>make</c:command>
     52    <para os="d">Compile the package:</para>
    5453
    55     <c:para>To test the results, issue:
    56     <c:command>make tests</c:command>.</c:para>
     54<screen os="e"><userinput>make</userinput></screen>
    5755
    58     <c:para>Install the package:</c:para>
     56    <para os="f">To test the results, issue:</para>
    5957
    60 <c:command>make install</c:command>
     58<screen os="f2"><userinput remap="test">make tests</userinput></screen>
    6159
    62     <c:para>Run the newly compiled <c:command>bash</c:command> program (replacing
    63     the one that is currently being executed):</c:para>
     60    <para os="g">Install the package:</para>
    6461
    65 <c:command c:nodump="true">exec /bin/bash --login +h</c:command>
     62<screen os="h"><userinput>make install</userinput></screen>
    6663
    67     <c:note>
    68       <c:para>The parameters used make the <c:command>bash</c:command>
     64    <para os="i">Run the newly compiled <command>bash</command> program (replacing
     65    the one that is currently being executed):</para>
     66
     67<screen os="j" role="nodump"><userinput>exec /bin/bash --login +h</userinput></screen>
     68
     69    <note os="k">
     70      <para>The parameters used make the <command>bash</command>
    6971      process an interactive login shell and continue to disable hashing so
    70       that new programs are found as they become available.</c:para>
    71     </c:note>
     72      that new programs are found as they become available.</para>
     73    </note>
    7274
    73   </c:install>
     75  </sect2>
    7476
    75   <c:contents>
     77  <sect2 id="contents-bash" role="content">
     78    <title>Contents of Bash</title>
    7679
    77     <c:program>
    78       <c:name>bash</c:name>
    79       <c:description>A widely-used command interpreter; it performs many types
    80       of expansions and substitutions on a given command line before executing
    81       it, thus making this interpreter a powerful tool</c:description>
    82     </c:program>
     80    <segmentedlist>
     81      <segtitle>Installed programs</segtitle>
     82      <segtitle>Installed directory</segtitle>
    8383
    84     <c:program>
    85       <c:name>bashbug</c:name>
    86       <c:description>A shell script to help the user compose and mail standard
    87       formatted bug reports concerning <c:command>bash</c:command>
    88       </c:description>
    89     </c:program>
     84      <seglistitem>
     85        <seg>bash, bashbug, and sh (link to bash)</seg>
     86        <seg>/usr/share/doc/bash-&bash-version;</seg>
     87      </seglistitem>
     88    </segmentedlist>
    9089
    91     <c:program>
    92       <c:name>sh</c:name>
    93       <c:description>A symlink to the <c:command>bash</c:command> program; when
    94       invoked as <c:command>sh</c:command>, <c:command>bash</c:command> tries
    95       to mimic the startup behavior of historical versions of
    96       <c:command>sh</c:command> as closely as possible, while conforming to the
    97       POSIX standard as well</c:description>
    98     </c:program>
     90    <variablelist>
     91      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
     92      <?dbfo list-presentation="list"?>
     93      <?dbhtml list-presentation="table"?>
    9994
    100   </c:contents>
     95      <varlistentry id="bash">
     96        <term><command>bash</command></term>
     97        <listitem>
     98          <para>A widely-used command interpreter; it performs many types of
     99          expansions and substitutions on a given command line before executing
     100          it, thus making this interpreter a powerful tool</para>
     101          <indexterm zone="ch-system-bash bash">
     102            <primary sortas="b-bash">bash</primary>
     103          </indexterm>
     104        </listitem>
     105      </varlistentry>
    101106
    102 </c:package>
     107      <varlistentry id="bashbug">
     108        <term><command>bashbug</command></term>
     109        <listitem>
     110          <para>A shell script to help the user compose and mail standard
     111          formatted bug reports concerning <command>bash</command></para>
     112          <indexterm zone="ch-system-bash bashbug">
     113            <primary sortas="b-bashbug">bashbug</primary>
     114          </indexterm>
     115        </listitem>
     116      </varlistentry>
    103117
     118      <varlistentry id="sh">
     119        <term><command>sh</command></term>
     120        <listitem>
     121          <para>A symlink to the <command>bash</command> program; when invoked
     122          as <command>sh</command>, <command>bash</command> tries to mimic the
     123          startup behavior of historical versions of <command>sh</command> as
     124          closely as possible, while conforming to the POSIX standard as
     125          well</para>
     126          <indexterm zone="ch-system-bash sh">
     127            <primary sortas="b-sh">sh</primary>
     128          </indexterm>
     129        </listitem>
     130      </varlistentry>
     131
     132    </variablelist>
     133
     134  </sect2>
     135
     136</sect1>
  • BOOK/final-system/common/m4.xml

    r350ab24 r31cfd067  
    11<?xml version="1.0" encoding="ISO-8859-1"?>
    2 <!DOCTYPE c:package [
     2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
     3  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
    34  <!ENTITY % general-entities SYSTEM "../../general.ent">
    45  %general-entities;
    56]>
    67
    7 <c:package xmlns:c="http://schema.cross-lfs.org/book"
    8            id="ch-system-m4" c:multibuild="false">
     8<sect1 id="ch-system-m4" role="wrap">
     9  <?dbhtml filename="m4.html"?>
    910
    10   <c:title>M4</c:title>
    11   <c:version>&m4-version;</c:version> 
    12   <c:description>The M4 package contains a macro processor.</c:description>
     11  <title>M4-&m4-version;</title>
    1312
    14   <c:install>
     13  <indexterm zone="ch-system-m4">
     14    <primary sortas="a-M4">M4</primary>
     15  </indexterm>
    1516
    16     <c:para>Prepare M4 for compilation:</c:para>
     17  <sect2 role="package">
     18    <title/>
    1719
    18     <c:command c:multilib="false">./configure --prefix=/usr</c:command>
    19     <c:command c:multilib="true">CC="gcc ${BUILD64}" ./configure --prefix=/usr</c:command>
     20    <para>The M4 package contains a macro processor.</para>
    2021
    21     <c:para>Compile the package:</c:para>
     22  </sect2>
    2223
    23     <c:command>make</c:command>
     24  <sect2 role="installation">
     25    <title>Installation of M4</title>
    2426
    25     <c:para>To test the results, issue:
    26     <c:command>make check</c:command>.</c:para>
     27    <para os="a">Prepare M4 for compilation:</para>
    2728
    28     <c:para>Install the package:</c:para>
     29<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
    2930
    30     <c:command>make install</c:command>
     31    <para os="c">Compile the package:</para>
    3132
    32   </c:install>
     33<screen os="d"><userinput>make</userinput></screen>
    3334
    34   <c:contents>
     35    <para os="e">To test the results, issue:</para>
    3536
    36     <c:program>
    37       <c:name>m4</c:name>
    38           <c:description>copies the given files while expanding the macros that they
     37<screen os="e2"><userinput remap="test">make check</userinput></screen>
     38
     39    <para os="f">Install the package:</para>
     40
     41<screen os="g"><userinput>make install</userinput></screen>
     42
     43  </sect2>
     44
     45  <sect2 id="contents-m4" role="content">
     46    <title>Contents of M4</title>
     47
     48    <segmentedlist>
     49      <segtitle>Installed program</segtitle>
     50
     51      <seglistitem>
     52        <seg>m4</seg>
     53      </seglistitem>
     54    </segmentedlist>
     55
     56    <variablelist>
     57      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
     58      <?dbfo list-presentation="list"?>
     59      <?dbhtml list-presentation="table"?>
     60
     61      <varlistentry id="m4">
     62         <!-- Don't remove the extra space, it prevet a FOP warning. -->
     63        <term><command>m4 </command></term>
     64        <listitem>
     65          <para>copies the given files while expanding the macros that they
    3966          contain. These macros are either built-in or user-defined and can
    4067          take any number of arguments. Besides performing macro expansion,
    41           <c:command>m4</c:command> has built-in functions for including named
     68          <command>m4</command> has built-in functions for including named
    4269          files, running Unix commands, performing integer arithmetic,
    43           manipulating text, recursion, etc. The <c:command>m4</c:command>
     70          manipulating text, recursion, etc. The <command>m4</command>
    4471          program can be used either as a front-end to a compiler or as a
    45           macro processor in its own right.</c:description>
    46     </c:program>
     72          macro processor in its own right.</para>
     73          <indexterm zone="ch-system-m4 m4">
     74            <primary sortas="b-m4">m4</primary>
     75          </indexterm>
     76        </listitem>
     77      </varlistentry>
    4778
    48   </c:contents>
     79    </variablelist>
    4980
    50 </c:package>
     81  </sect2>
     82
     83</sect1>
  • BOOK/final-system/mips64-chapter.xml

    r350ab24 r31cfd067  
    2222  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/glibc-64bit.xml"/>
    2323  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/adjusting.xml"/>
    24   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/m4.xml"/>
     24  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/m4.xml"/>
    2525  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gmp.xml"/>
    2626  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gmp-n32.xml"/>
     
    8888  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/autoconf.xml"/>
    8989  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/automake.xml"/>
    90   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
     90  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
    9191  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bc.xml"/>
    9292  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
  • BOOK/final-system/ppc64-chapter.xml

    r350ab24 r31cfd067  
    2121  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/glibc-64bit.xml"/>
    2222  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/adjusting.xml"/>
    23   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/m4.xml"/>
     23  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/m4.xml"/>
    2424  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gmp.xml"/>
    2525  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gmp-64bit.xml"/>
     
    6969  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/autoconf.xml"/>
    7070  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/automake.xml"/>
    71   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
     71  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
    7272  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bc.xml"/>
    7373  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
  • BOOK/final-system/sparc64-chapter.xml

    r350ab24 r31cfd067  
    2121  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64/glibc-64bit.xml"/>
    2222  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/adjusting.xml"/>
    23   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/m4.xml"/>
     23  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/m4.xml"/>
    2424  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gmp.xml"/>
    2525  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gmp-64bit.xml"/>
     
    6969  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/autoconf.xml"/>
    7070  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/automake.xml"/>
    71   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
     71  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
    7272  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bc.xml"/>
    7373  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
  • BOOK/final-system/x86_64-chapter.xml

    r350ab24 r31cfd067  
    2121  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64/glibc-64bit.xml"/>
    2222  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64/adjusting.xml"/>
    23   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/m4.xml"/>
     23  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/m4.xml"/>
    2424  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gmp.xml"/>
    2525  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gmp-64bit.xml"/>
     
    6969  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/autoconf.xml"/>
    7070  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/automake.xml"/>
    71   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
     71  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
    7272  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bc.xml"/>
    7373  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
  • BOOK/introduction/common/changelog.xml

    r350ab24 r31cfd067  
    770770
    771771    <listitem>
    772       <para>30 December 2013</para>
    773       <itemizedlist>
    774         <listitem>
    775           <para>[William Harrington] - Update E2fsprogs to 1.42.9.</para>
    776         </listitem>
    777         <listitem>
    778           <para>[William Harrington] - Update Automake to 1.14.1.</para>
    779         </listitem>
    780       </itemizedlist>
    781     </listitem>
    782 
    783     <listitem>
    784772      <para>14 December 2013</para>
    785773      <itemizedlist>
  • BOOK/temp-system/common/bash.xml

    r350ab24 r31cfd067  
    11<?xml version="1.0" encoding="ISO-8859-1"?>
    2 <!DOCTYPE c:package [
     2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
     3  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
    34  <!ENTITY % general-entities SYSTEM "../../general.ent">
    45  %general-entities;
    56]>
    67
    7 <c:package xmlns:c="http://schema.cross-lfs.org/book"
    8            xmlns:xi="http://www.w3.org/2001/XInclude"
    9            id="ch-temp-system-bash" c:multibuild="false">
     8<sect1 id="ch-temp-system-bash" role="wrap">
     9  <?dbhtml filename="bash.html"?>
    1010
    11   <c:title>Bash</c:title>
    12   <c:version>&bash-version;</c:version>
    13   <c:variant>temporary system</c:variant>
     11  <title>Bash-&bash-version;</title>
    1412
    15   <xi:include href="../../final-system/common/bash.xml"
    16     xpointer="xmlns(co=http://schema.cross-lfs.org/book)
    17               xpointer(/co:package/co:description[1])" />
     13  <indexterm zone="ch-temp-system-bash">
     14    <primary sortas="a-Bash">Bash</primary>
     15    <secondary>temporary system</secondary>
     16  </indexterm>
    1817
    19   <c:install>
     18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     19  href="../../final-system/common/bash.xml"
     20  xpointer="xpointer(//*[@role='package'])"/>
    2021
    21     <xi:include href="../../final-system/common/bash.xml"
    22       xpointer="xmlns(co=http://schema.cross-lfs.org/book)
    23                 xpointer(/co:package/co:install/*[@co:r='p-bu'])" />
     22  <sect2 role="installation">
     23    <title>Installation of Bash</title>
    2424
    25     <c:para>When Bash is cross-compiled, it cannot test for the presence
    26     of named pipes, among other things. If you used <c:command>su</c:command> to
     25    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     26    href="../../final-system/common/bash.xml"
     27    xpointer="xpointer(//*[@os='p1'])"/>
     28
     29    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     30    href="../../final-system/common/bash.xml"
     31    xpointer="xpointer(//*[@os='p2'])"/>
     32
     33    <para os="t1">When Bash is cross-compiled, it cannot test for the presence
     34    of named pipes, among other things. If you used <command>su</command> to
    2735    become an unprivileged user, this combination will cause Bash to build
    28     without <c:emphasis>process substitution</c:emphasis>, which will break one
    29     of the C++ test scripts in <c:literal>eglibc</c:literal>. The following prevents
     36    without <emphasis>process substitution</emphasis>, which will break one
     37    of the C++ test scripts in <literal>glibc</literal>. The following prevents
    3038    future problems by skipping the check for named pipes, as well as other
    31     tests that can not run while cross-compiling or that do not run properly:</c:para>
     39    tests that can not run while cross-compiling or that do not run properly:</para>
    3240
    33 <c:command>cat &gt; config.cache &lt;&lt; "EOF"
     41<screen os="t2"><userinput>cat &gt; config.cache &lt;&lt; "EOF"
    3442ac_cv_func_mmap_fixed_mapped=yes
    3543ac_cv_func_strcoll_works=yes
     
    4452bash_cv_unusable_rtsigs=no
    4553gt_cv_int_divbyzero_sigfpe=yes
    46 EOF</c:command>
     54EOF</userinput></screen>
    4755
    48     <c:para>Prepare Bash for compilation:</c:para>
     56    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     57    href="../../final-system/common/bash.xml"
     58    xpointer="xpointer(//*[@os='a'])"/>
    4959
    50 <c:command c:arch="alpha,mips,ppc,sparc,x86">./configure -prefix=/tools \
    51     -build=${CLFS_HOST} -host=${CLFS_TARGET} \
    52     -without-bash-malloc -cache-file=config.cache</c:command>
    53 <c:command c:arch="mips64-64,mips64,ppc64,sparc64-64,sparc64,x86_64-64,x86_64">CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \
    54    ./configure --prefix=/tools \
    55    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    56    --without-bash-malloc --cache-file=config.cache</c:command>
     60<screen os="b"><userinput>./configure --prefix=/tools \
     61    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
     62    --without-bash-malloc --cache-file=config.cache</userinput></screen>
    5763
    58 <!--
    5964    <variablelist os="c">
    6065      <title>The meaning of the new configure option:</title>
    6166
    6267      <varlistentry>
    63         <term><parameter>-without-bash-malloc</parameter></term>
     68        <term><parameter>--without-bash-malloc</parameter></term>
    6469        <listitem>
    6570          <para>This option turns off the use of Bash's memory allocation
     
    7176
    7277    </variablelist>
    73 -->
    7478
    75     <c:para>Compile the package:</c:para>
     79    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     80    href="../../final-system/common/bash.xml"
     81    xpointer="xpointer(//*[@os='d'])"/>
    7682
    77 <c:command>make</c:command>
     83    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     84    href="../../final-system/common/bash.xml"
     85    xpointer="xpointer(//*[@os='e'])"/>
    7886
    79     <c:para>Install the package:</c:para>
     87    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     88    href="../../final-system/common/bash.xml"
     89    xpointer="xpointer(//*[@os='g'])"/>
    8090
    81 <c:command>make install</c:command>
     91<screen os="h"><userinput>make install</userinput></screen>
    8292
    83   </c:install>
     93  </sect2>
    8494
    85   <c:contents c:ref="ch-system-bash" />
     95  <sect2 role="content">
     96    <title/>
    8697
    87 </c:package>
     98    <para>Details on this package are located in <xref
     99    linkend="contents-bash" role="."/></para>
    88100
     101  </sect2>
     102
     103</sect1>
  • BOOK/temp-system/common/m4.xml

    r350ab24 r31cfd067  
    11<?xml version="1.0" encoding="ISO-8859-1"?>
    2 <!DOCTYPE c:package [
     2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
     3  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
    34  <!ENTITY % general-entities SYSTEM "../../general.ent">
    45  %general-entities;
    56]>
    67
    7 <c:package xmlns:c="http://schema.cross-lfs.org/book"
    8            xmlns:xi="http://www.w3.org/2001/XInclude"
    9            id="ch-temp-system-m4" c:multibuild="false">
     8<sect1 id="ch-temp-system-m4" role="wrap">
     9  <?dbhtml filename="m4.html"?>
    1010
    11   <c:title>M4</c:title>
    12   <c:version>&m4-version;</c:version>
    13   <c:variant>temporary system</c:variant>
     11  <title>M4-&m4-version;</title>
    1412
    15   <xi:include href="../../final-system/common/m4.xml"
    16   xpointer="xmlns(co=http://schema.cross-lfs.org/book)
    17             xpointer(/co:package/co:description[1])" />
     13  <indexterm zone="ch-temp-system-m4">
     14    <primary sortas="a-M4">M4</primary>
     15    <secondary>temporary system</secondary>
     16  </indexterm>
    1817
    19   <c:install>
     18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     19  href="../../final-system/common/m4.xml"
     20  xpointer="xpointer(//*[@role='package'])"/>
    2021
    21     <c:para>Configure can not properly determine the results of the
    22     following tests:</c:para>
     22  <sect2 role="installation">
     23    <title>Installation of M4</title>
    2324
    24     <c:command>cat &gt; config.cache &lt;&lt; EOF
     25    <para os="cc1">Configure can not properly determine the results of the
     26    following tests:</para>
     27
     28<screen os="cc2"><userinput>cat &gt; config.cache &lt;&lt; EOF
    2529gl_cv_func_btowc_eof=yes
    2630gl_cv_func_mbrtowc_incomplete_state=yes
     
    3236gl_cv_func_wcrtomb_retval=yes
    3337gl_cv_func_wctob_works=yes
    34 EOF</c:command>
     38EOF</userinput></screen>
    3539
    36     <c:para>Prepare M4 for compilation:</c:para>
     40    <para os="a">Prepare M4 for compilation:</para>
    3741
    38     <c:command c:multilib="false">./configure --prefix=/tools \
     42<screen os="b"><userinput>./configure --prefix=/tools \
    3943    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    40     --cache-file=config.cache</c:command>
     44    --cache-file=config.cache</userinput></screen>
    4145
    42     <c:command c:multilib="true">CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
    43     --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    44     --cache-file=config.cache</c:command>
     46    <para os="c">Compile the package:</para>
    4547
    46     <c:para>Compile the package:</c:para>
     48<screen os="d"><userinput>make</userinput></screen>
    4749
    48     <c:command>make</c:command>
     50    <para os="e">Install the package:</para>
    4951
    50     <c:para>Install the package:</c:para>
     52<screen os="f"><userinput>make install</userinput></screen>
    5153
    52     <c:command>make install</c:command>
     54  </sect2>
    5355
    54   </c:install>
     56  <sect2 role="content">
     57    <title/>
    5558
    56   <c:contents c:ref="ch-system-m4" />
     59    <para>Details on this package are located in <xref
     60    linkend="contents-m4" role="."/></para>
    5761
    58 </c:package>
     62  </sect2>
     63
     64</sect1>
  • BOOK/temp-system/mips64-64-chapter.xml

    r350ab24 r31cfd067  
    2323  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64-64/gcc.xml"/>
    2424  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/ncurses.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
    2626  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/bzip2.xml"/>
    2727  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/check.xml"/>
  • BOOK/temp-system/mips64-chapter.xml

    r350ab24 r31cfd067  
    2323  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/gcc.xml"/>
    2424  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/ncurses.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
    2626  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
    2727  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/check.xml"/>
  • BOOK/temp-system/ppc64-64-chapter.xml

    r350ab24 r31cfd067  
    2323  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64-64/gcc.xml"/>
    2424  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/ncurses.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
    2626  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/bzip2.xml"/>
    2727  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/check.xml"/>
  • BOOK/temp-system/ppc64-chapter.xml

    r350ab24 r31cfd067  
    2222  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/gcc.xml"/>
    2323  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/ncurses.xml"/>
    24   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
     24  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
    2525  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
    2626  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/check.xml"/>
  • BOOK/temp-system/sparc64-64-chapter.xml

    r350ab24 r31cfd067  
    2323  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/gcc.xml"/>
    2424  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/ncurses.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
    2626  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/bzip2.xml"/>
    2727  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/check.xml"/>
  • BOOK/temp-system/sparc64-chapter.xml

    r350ab24 r31cfd067  
    2323  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gcc.xml"/>
    2424  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/ncurses.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
    2626  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
    2727  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/check.xml"/>
  • BOOK/temp-system/x86_64-64-chapter.xml

    r350ab24 r31cfd067  
    2323  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/gcc.xml"/>
    2424  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/ncurses.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
    2626  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/bzip2.xml"/>
    2727  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/check.xml"/>
  • BOOK/temp-system/x86_64-chapter.xml

    r350ab24 r31cfd067  
    2323  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gcc.xml"/>
    2424  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/ncurses.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bash.xml"/>
    26   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bison.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bash.xml"/>
    2726  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/>
    2827  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/check.xml"/>
     
    3534  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/grep.xml"/>
    3635  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gzip.xml"/>
    37   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/m4.xml"/>
     36  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/make.xml"/>
    3837  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/patch.xml"/>
    3938  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sed.xml"/>
  • BOOK/x86-index.xml

    r350ab24 r31cfd067  
    1313  -->
    1414  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="prologue/preface.xml"/>
    15 
    1615
    1716  <part id="part1">
  • BOOK/x86_64-index.xml

    r350ab24 r31cfd067  
    66]>
    77
    8 <book xmlns:c="http://schema.cross-lfs.org/book">
     8<book>
    99
    1010  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="prologue/x86_64/bookinfo.xml"/>
Note: See TracChangeset for help on using the changeset viewer.