Changes in / [350ab24:31cfd067]
- Location:
- BOOK
- Files:
-
- 4 added
- 9 deleted
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/Makefile
r350ab24 r31cfd067 3 3 4 4 VALIDATEDIR := $(RENDERDIR)/validate 5 DBXMLDIR := $(RENDERDIR)/docbook6 5 PROFILEDIR := $(RENDERDIR)/profile 7 6 … … 24 23 ppc ppc64 ppc64-64 25 24 # alpha Not tested anymore 26 27 x86_ML := 3228 x86_64_ML := 32,6429 x86_64-64_ML := 6430 sparc_ML := 3231 sparc64_ML := 32,6432 sparc64-64_ML := 6433 mips_ML := 3234 mips64_ML := 32,n32,6435 mips64-64_ML := 6436 ppc_ML := 3237 ppc64_ML := 32,6438 alpha_ML := 6439 25 40 26 ifdef V … … 76 62 $(ARCHS_VD_XML): override arch = $(@:%-validate_dump-xml=%) 77 63 $(ARCHS_VD_XML): 78 @echo "Validating $(arch) against the CLFS Schema..."64 @echo "Validating $(arch) book..." 79 65 $(Q)mkdir -p $(VALIDATEDIR) 80 66 $(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 \ 82 68 -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 100 70 101 71 ARCHS_P_XML := $(ARCHS:%=%-profiled-xml) … … 103 73 $(ARCHS_P_XML): override arch = $(@:%-profiled-xml=%) 104 74 $(ARCHS_P_XML): 105 @$(MAKE) --no-print-directory $(arch)- db-xml106 @echo " Profiling $(arch) for rendering..."75 @$(MAKE) --no-print-directory $(arch)-validate_dump-xml 76 @echo "Generating profiled $(arch) book..." 107 77 $(Q)mkdir -p $(PROFILEDIR) 108 $(Q)xsltproc --nonet \ 109 --stringparam profile.condition html \ 78 $(Q)xsltproc --nonet --stringparam profile.condition html \ 110 79 --output $(PROFILEDIR)/$(arch)-html.xml \ 111 80 $(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 124 82 125 83 ARCHS_HTML := $(ARCHS:%=%-html) … … 129 87 $(ARCHS_HTML): 130 88 @$(MAKE) --no-print-directory $(arch)-profiled-xml 131 @$(MAKE) --no-print-directory $(arch)-validate_db-xml132 89 133 90 @echo "Rendering chunked XHTML of $(arch)..." … … 155 112 $(ARCHS_NOCHUNKS): 156 113 @$(MAKE) --no-print-directory $(arch)-profiled-xml 157 @$(MAKE) --no-print-directory $(arch)-validate_db-xml158 114 159 115 @echo "Rendering Single File HTML of $(arch)..." … … 172 128 $(ARCHS_FO): 173 129 @$(MAKE) --no-print-directory $(arch)-profiled-xml 174 @$(MAKE) --no-print-directory $(arch)-validate_db-xml175 130 176 131 @echo "Generating FO file of $(arch)..." … … 198 153 $(ARCHS_VALIDATE): override arch = $(@:%-validate=%) 199 154 $(ARCHS_VALIDATE): 200 @echo "Validating $(arch) against the CLFS Schema..."155 @echo "Validating $(arch)..." 201 156 $(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 206 159 207 160 ARCHS_TROUBLE := $(ARCHS:%=%-trouble) … … 213 166 @mkdir -p $(TROUBLEDIR) 214 167 $(Q)xmllint --xinclude --nonet \ 215 --relaxng $(TOP)/schema/ clfs/0.1/rng/clfs.rng \168 --relaxng $(TOP)/schema/docbook/4.5/rng/docbook.rng \ 216 169 -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 220 171 $(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) 225 174 @echo "You can now look at $(TROUBLEDIR)/dump-$(arch) to see the errors" 226 175 -
BOOK/cross-tools/common/m4.xml
r350ab24 r31cfd067 1 1 <?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" [ 3 4 <!ENTITY % general-entities SYSTEM "../../general.ent"> 4 5 %general-entities; 5 6 ]> 6 7 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"?> 10 10 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> 14 12 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> 18 17 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'])"/> 20 21 21 <c:para>Prepare M4 for compilation:</c:para> 22 <sect2 role="installation"> 23 <title>Installation of M4</title> 22 24 23 <c:command>./configure --prefix=/cross-tools</c:command>25 <para os="a">Prepare M4 for compilation:</para> 24 26 25 <c:para>Compile the package:</c:para>27 <screen os="b"><userinput>./configure --prefix=/cross-tools</userinput></screen> 26 28 27 <c:command>make</c:command>29 <para os="c">Compile the package:</para> 28 30 29 <c:para>Install the package:</c:para>31 <screen os="d"><userinput>make</userinput></screen> 30 32 31 <c:command>make install</c:command>33 <para os="e">Install the package:</para> 32 34 33 </c:install>35 <screen os="f"><userinput>make install</userinput></screen> 34 36 35 < c:contents c:ref="ch-system-m4" />37 </sect2> 36 38 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 1 1 <?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" [ 3 4 <!ENTITY % general-entities SYSTEM "../../general.ent"> 4 5 %general-entities; 5 6 ]> 6 7 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"?> 9 10 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> 13 12 14 <c:install> 13 <indexterm zone="ch-system-bash"> 14 <primary sortas="a-Bash">Bash</primary> 15 </indexterm> 15 16 16 <c:para c:r="p-bu">The following patch contains updates from the maintainer. The17 maintainer of Bash only releases these patches to fix serious issues:</c:para>17 <sect2 role="package"> 18 <title/> 18 19 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> 20 21 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> 23 23 24 <c:command c:multilib="true">sed -i "/ac_cv_rl_libdir/s@/lib@&64@" configure</c:command> 24 <sect2 role="installation"> 25 <title>Installation of Bash</title> 25 26 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> 27 29 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 \ 29 35 --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> 35 37 36 <!-- 37 <variablelist> 38 <variablelist os="c"> 38 39 <title>The meaning of the configure option:</title> 39 40 40 41 <varlistentry> 41 <term><parameter>- with-installed-readline</parameter></term>42 <term><parameter>--with-installed-readline</parameter></term> 42 43 <listitem> 43 < c:para>This option tells Bash to use the44 <para>This option tells Bash to use the 44 45 <filename class="libraryfile">readline</filename> library that is 45 46 already installed on the system rather than using its own readline 46 version.</ c:para>47 version.</para> 47 48 </listitem> 48 49 </varlistentry> 49 50 </variablelist> 50 -->51 <c:para>Compile the package:</c:para>52 51 53 <c:command>make</c:command>52 <para os="d">Compile the package:</para> 54 53 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> 57 55 58 < c:para>Install the package:</c:para>56 <para os="f">To test the results, issue:</para> 59 57 60 < c:command>make install</c:command>58 <screen os="f2"><userinput remap="test">make tests</userinput></screen> 61 59 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> 64 61 65 < c:command c:nodump="true">exec /bin/bash --login +h</c:command>62 <screen os="h"><userinput>make install</userinput></screen> 66 63 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> 69 71 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> 72 74 73 </ c:install>75 </sect2> 74 76 75 <c:contents> 77 <sect2 id="contents-bash" role="content"> 78 <title>Contents of Bash</title> 76 79 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> 83 83 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> 90 89 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"?> 99 94 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> 101 106 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> 103 117 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 1 1 <?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" [ 3 4 <!ENTITY % general-entities SYSTEM "../../general.ent"> 4 5 %general-entities; 5 6 ]> 6 7 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"?> 9 10 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> 13 12 14 <c:install> 13 <indexterm zone="ch-system-m4"> 14 <primary sortas="a-M4">M4</primary> 15 </indexterm> 15 16 16 <c:para>Prepare M4 for compilation:</c:para> 17 <sect2 role="package"> 18 <title/> 17 19 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> 20 21 21 <c:para>Compile the package:</c:para>22 </sect2> 22 23 23 <c:command>make</c:command> 24 <sect2 role="installation"> 25 <title>Installation of M4</title> 24 26 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> 27 28 28 <c:para>Install the package:</c:para>29 <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen> 29 30 30 < c:command>make install</c:command>31 <para os="c">Compile the package:</para> 31 32 32 </c:install>33 <screen os="d"><userinput>make</userinput></screen> 33 34 34 <c:contents>35 <para os="e">To test the results, issue:</para> 35 36 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 39 66 contain. These macros are either built-in or user-defined and can 40 67 take any number of arguments. Besides performing macro expansion, 41 <c :command>m4</c:command> has built-in functions for including named68 <command>m4</command> has built-in functions for including named 42 69 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> 44 71 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> 47 78 48 </c:contents>79 </variablelist> 49 80 50 </c:package> 81 </sect2> 82 83 </sect1> -
BOOK/final-system/mips64-chapter.xml
r350ab24 r31cfd067 22 22 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/glibc-64bit.xml"/> 23 23 <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"/> 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gmp.xml"/> 26 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gmp-n32.xml"/> … … 88 88 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/autoconf.xml"/> 89 89 <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"/> 91 91 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bc.xml"/> 92 92 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/> -
BOOK/final-system/ppc64-chapter.xml
r350ab24 r31cfd067 21 21 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/glibc-64bit.xml"/> 22 22 <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"/> 24 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gmp.xml"/> 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gmp-64bit.xml"/> … … 69 69 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/autoconf.xml"/> 70 70 <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"/> 72 72 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bc.xml"/> 73 73 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/> -
BOOK/final-system/sparc64-chapter.xml
r350ab24 r31cfd067 21 21 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64/glibc-64bit.xml"/> 22 22 <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"/> 24 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gmp.xml"/> 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gmp-64bit.xml"/> … … 69 69 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/autoconf.xml"/> 70 70 <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"/> 72 72 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bc.xml"/> 73 73 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/> -
BOOK/final-system/x86_64-chapter.xml
r350ab24 r31cfd067 21 21 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64/glibc-64bit.xml"/> 22 22 <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"/> 24 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gmp.xml"/> 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gmp-64bit.xml"/> … … 69 69 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/autoconf.xml"/> 70 70 <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"/> 72 72 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bc.xml"/> 73 73 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/> -
BOOK/introduction/common/changelog.xml
r350ab24 r31cfd067 770 770 771 771 <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>784 772 <para>14 December 2013</para> 785 773 <itemizedlist> -
BOOK/temp-system/common/bash.xml
r350ab24 r31cfd067 1 1 <?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" [ 3 4 <!ENTITY % general-entities SYSTEM "../../general.ent"> 4 5 %general-entities; 5 6 ]> 6 7 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"?> 10 10 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> 14 12 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> 18 17 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'])"/> 20 21 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> 24 24 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 27 35 become an unprivileged user, this combination will cause Bash to build 28 without < c:emphasis>process substitution</c:emphasis>, which will break one29 of the C++ test scripts in < c:literal>eglibc</c:literal>. The following prevents36 without <emphasis>process substitution</emphasis>, which will break one 37 of the C++ test scripts in <literal>glibc</literal>. The following prevents 30 38 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> 32 40 33 < c:command>cat > config.cache << "EOF"41 <screen os="t2"><userinput>cat > config.cache << "EOF" 34 42 ac_cv_func_mmap_fixed_mapped=yes 35 43 ac_cv_func_strcoll_works=yes … … 44 52 bash_cv_unusable_rtsigs=no 45 53 gt_cv_int_divbyzero_sigfpe=yes 46 EOF</ c:command>54 EOF</userinput></screen> 47 55 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'])"/> 49 59 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> 57 63 58 <!--59 64 <variablelist os="c"> 60 65 <title>The meaning of the new configure option:</title> 61 66 62 67 <varlistentry> 63 <term><parameter>- without-bash-malloc</parameter></term>68 <term><parameter>--without-bash-malloc</parameter></term> 64 69 <listitem> 65 70 <para>This option turns off the use of Bash's memory allocation … … 71 76 72 77 </variablelist> 73 -->74 78 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'])"/> 76 82 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'])"/> 78 86 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'])"/> 80 90 81 < c:command>make install</c:command>91 <screen os="h"><userinput>make install</userinput></screen> 82 92 83 </ c:install>93 </sect2> 84 94 85 <c:contents c:ref="ch-system-bash" /> 95 <sect2 role="content"> 96 <title/> 86 97 87 </c:package> 98 <para>Details on this package are located in <xref 99 linkend="contents-bash" role="."/></para> 88 100 101 </sect2> 102 103 </sect1> -
BOOK/temp-system/common/m4.xml
r350ab24 r31cfd067 1 1 <?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" [ 3 4 <!ENTITY % general-entities SYSTEM "../../general.ent"> 4 5 %general-entities; 5 6 ]> 6 7 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"?> 10 10 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> 14 12 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> 18 17 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'])"/> 20 21 21 <c:para>Configure can not properly determine the results of the22 following tests:</c:para>22 <sect2 role="installation"> 23 <title>Installation of M4</title> 23 24 24 <c:command>cat > config.cache << 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 > config.cache << EOF 25 29 gl_cv_func_btowc_eof=yes 26 30 gl_cv_func_mbrtowc_incomplete_state=yes … … 32 36 gl_cv_func_wcrtomb_retval=yes 33 37 gl_cv_func_wctob_works=yes 34 EOF</ c:command>38 EOF</userinput></screen> 35 39 36 < c:para>Prepare M4 for compilation:</c:para>40 <para os="a">Prepare M4 for compilation:</para> 37 41 38 <c:command c:multilib="false">./configure --prefix=/tools \42 <screen os="b"><userinput>./configure --prefix=/tools \ 39 43 --build=${CLFS_HOST} --host=${CLFS_TARGET} \ 40 --cache-file=config.cache</ c:command>44 --cache-file=config.cache</userinput></screen> 41 45 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> 45 47 46 <c:para>Compile the package:</c:para>48 <screen os="d"><userinput>make</userinput></screen> 47 49 48 < c:command>make</c:command>50 <para os="e">Install the package:</para> 49 51 50 <c:para>Install the package:</c:para>52 <screen os="f"><userinput>make install</userinput></screen> 51 53 52 <c:command>make install</c:command>54 </sect2> 53 55 54 </c:install> 56 <sect2 role="content"> 57 <title/> 55 58 56 <c:contents c:ref="ch-system-m4" /> 59 <para>Details on this package are located in <xref 60 linkend="contents-m4" role="."/></para> 57 61 58 </c:package> 62 </sect2> 63 64 </sect1> -
BOOK/temp-system/mips64-64-chapter.xml
r350ab24 r31cfd067 23 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64-64/gcc.xml"/> 24 24 <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"/> 26 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/bzip2.xml"/> 27 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/check.xml"/> -
BOOK/temp-system/mips64-chapter.xml
r350ab24 r31cfd067 23 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/gcc.xml"/> 24 24 <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"/> 26 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/> 27 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/check.xml"/> -
BOOK/temp-system/ppc64-64-chapter.xml
r350ab24 r31cfd067 23 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64-64/gcc.xml"/> 24 24 <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"/> 26 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/bzip2.xml"/> 27 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/check.xml"/> -
BOOK/temp-system/ppc64-chapter.xml
r350ab24 r31cfd067 22 22 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/gcc.xml"/> 23 23 <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"/> 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/> 26 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/check.xml"/> -
BOOK/temp-system/sparc64-64-chapter.xml
r350ab24 r31cfd067 23 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/gcc.xml"/> 24 24 <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"/> 26 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/bzip2.xml"/> 27 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/check.xml"/> -
BOOK/temp-system/sparc64-chapter.xml
r350ab24 r31cfd067 23 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gcc.xml"/> 24 24 <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"/> 26 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/> 27 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/check.xml"/> -
BOOK/temp-system/x86_64-64-chapter.xml
r350ab24 r31cfd067 23 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/gcc.xml"/> 24 24 <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"/> 26 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/bzip2.xml"/> 27 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/check.xml"/> -
BOOK/temp-system/x86_64-chapter.xml
r350ab24 r31cfd067 23 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gcc.xml"/> 24 24 <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"/> 27 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/bzip2.xml"/> 28 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/check.xml"/> … … 35 34 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/grep.xml"/> 36 35 <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"/> 38 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/patch.xml"/> 39 38 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sed.xml"/> -
BOOK/x86-index.xml
r350ab24 r31cfd067 13 13 --> 14 14 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="prologue/preface.xml"/> 15 16 15 17 16 <part id="part1"> -
BOOK/x86_64-index.xml
r350ab24 r31cfd067 6 6 ]> 7 7 8 <book xmlns:c="http://schema.cross-lfs.org/book">8 <book> 9 9 10 10 <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.