[bf8c11f] | 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 |
|
---|
[3b9c9f7] | 18 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 19 | href="../../final-system/common/bash.xml"
|
---|
| 20 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
[bf8c11f] | 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 |
|
---|
[96e7720] | 29 | <screen os="h"><userinput>./configure --prefix=/tools \
|
---|
[849c06a] | 30 | --without-bash-malloc --host=${LFS_TARGET}</userinput></screen>
|
---|
[bf8c11f] | 31 |
|
---|
[175ff828] | 32 | <variablelist os="ad">
|
---|
[fd90c25f] | 33 | <title>The meaning of the configure option:</title>
|
---|
[bf8c11f] | 34 |
|
---|
| 35 | <varlistentry>
|
---|
| 36 | <term><parameter>--without-bash-malloc</parameter></term>
|
---|
| 37 | <listitem>
|
---|
[e6ace8f] | 38 | <para>This option turns off the use of Bash's memory allocation
|
---|
[bf8c11f] | 39 | (malloc) function which is known to cause segmentation faults.
|
---|
[e1beb751] | 40 | By turning this option off, Bash will use the malloc functions
|
---|
[bf8c11f] | 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"
|
---|
[127585f] | 49 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
[bf8c11f] | 50 |
|
---|
| 51 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 52 | href="../../final-system/common/bash.xml"
|
---|
[127585f] | 53 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
[bf8c11f] | 54 |
|
---|
| 55 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 56 | href="../../final-system/common/bash.xml"
|
---|
[127585f] | 57 | xpointer="xpointer(//*[@os='m'])"/>
|
---|
[bf8c11f] | 58 |
|
---|
| 59 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 60 | href="../../final-system/common/bash.xml"
|
---|
[127585f] | 61 | xpointer="xpointer(//*[@os='n'])"/>
|
---|
[bf8c11f] | 62 |
|
---|
[8c50f0e] | 63 | <para os="ae">Make a link for programs that use <command>sh</command> for
|
---|
[bf8c11f] | 64 | a shell:</para>
|
---|
| 65 |
|
---|
[287d7b9] | 66 | <screen os="af"><userinput>ln -sv bash /tools/bin/sh</userinput></screen>
|
---|
[bf8c11f] | 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>
|
---|