| 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
 | 
|---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
 | 
|---|
| 3 |   "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
 | 
|---|
| 4 |   <!ENTITY % general-entities SYSTEM "../../general.ent">
 | 
|---|
| 5 |   %general-entities;
 | 
|---|
| 6 | ]>
 | 
|---|
| 7 | 
 | 
|---|
| 8 | <sect1 id="ch-temp-system-bash" role="wrap">
 | 
|---|
| 9 |   <?dbhtml filename="bash.html"?>
 | 
|---|
| 10 | 
 | 
|---|
| 11 |   <title>Bash-&bash-version;</title>
 | 
|---|
| 12 | 
 | 
|---|
| 13 |   <indexterm zone="ch-temp-system-bash">
 | 
|---|
| 14 |     <primary sortas="a-Bash">Bash</primary>
 | 
|---|
| 15 |     <secondary>temporary system</secondary>
 | 
|---|
| 16 |   </indexterm>
 | 
|---|
| 17 | 
 | 
|---|
| 18 |   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 19 |   href="../../final-system/common/bash.xml"
 | 
|---|
| 20 |   xpointer="xpointer(//*[@role='package'])"/>
 | 
|---|
| 21 | 
 | 
|---|
| 22 |   <sect2 role="installation">
 | 
|---|
| 23 |     <title>Installation of Bash</title>
 | 
|---|
| 24 | 
 | 
|---|
| 25 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 26 |     href="../../final-system/common/bash.xml"
 | 
|---|
| 27 |     xpointer="xpointer(//*[@os='g'])"/>
 | 
|---|
| 28 | 
 | 
|---|
| 29 | <screen os="h"><userinput>./configure --prefix=/tools \
 | 
|---|
| 30 |    --without-bash-malloc --host=${LFS_TARGET}</userinput></screen>
 | 
|---|
| 31 | 
 | 
|---|
| 32 |     <variablelist os="ad">
 | 
|---|
| 33 |       <title>The meaning of the configure option:</title>
 | 
|---|
| 34 | 
 | 
|---|
| 35 |       <varlistentry>
 | 
|---|
| 36 |         <term><parameter>--without-bash-malloc</parameter></term>
 | 
|---|
| 37 |         <listitem>
 | 
|---|
| 38 |           <para>This option turns off the use of Bash's memory allocation
 | 
|---|
| 39 |           (malloc) function which is known to cause segmentation faults.
 | 
|---|
| 40 |           By turning this option off, Bash will use the malloc functions
 | 
|---|
| 41 |           from Glibc which are more stable.</para>
 | 
|---|
| 42 |         </listitem>
 | 
|---|
| 43 |       </varlistentry>
 | 
|---|
| 44 | 
 | 
|---|
| 45 |     </variablelist>
 | 
|---|
| 46 | 
 | 
|---|
| 47 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 48 |     href="../../final-system/common/bash.xml"
 | 
|---|
| 49 |     xpointer="xpointer(//*[@os='j'])"/>
 | 
|---|
| 50 | 
 | 
|---|
| 51 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 52 |     href="../../final-system/common/bash.xml"
 | 
|---|
| 53 |     xpointer="xpointer(//*[@os='k'])"/>
 | 
|---|
| 54 | 
 | 
|---|
| 55 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 56 |     href="../../final-system/common/bash.xml"
 | 
|---|
| 57 |     xpointer="xpointer(//*[@os='m'])"/>
 | 
|---|
| 58 | 
 | 
|---|
| 59 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 60 |     href="../../final-system/common/bash.xml"
 | 
|---|
| 61 |     xpointer="xpointer(//*[@os='n'])"/>
 | 
|---|
| 62 | 
 | 
|---|
| 63 |     <para os="ae">Make a link for programs that use <command>sh</command> for
 | 
|---|
| 64 |     a shell:</para>
 | 
|---|
| 65 | 
 | 
|---|
| 66 | <screen os="af"><userinput>ln -sv bash /tools/bin/sh</userinput></screen>
 | 
|---|
| 67 | 
 | 
|---|
| 68 |   </sect2>
 | 
|---|
| 69 | 
 | 
|---|
| 70 |   <sect2 role="content">
 | 
|---|
| 71 |     <title/>
 | 
|---|
| 72 | 
 | 
|---|
| 73 |     <para>Details on this package are located in <xref
 | 
|---|
| 74 |     linkend="contents-bash" role="."/></para>
 | 
|---|
| 75 | 
 | 
|---|
| 76 |   </sect2>
 | 
|---|
| 77 | 
 | 
|---|
| 78 | </sect1>
 | 
|---|