[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 |
|
---|
[f32f537] | 25 | <para os="aa">Fix a minor issue during the build when cross-compiling:</para>
|
---|
[bf8c11f] | 26 |
|
---|
| 27 | <screen os="ab"><userinput>cp Makefile.in Makefile.in.orig
|
---|
| 28 | sed -e "s@size \$(Program)@${LFS_TARGET}-&@g" Makefile.in.orig > Makefile.in</userinput></screen>
|
---|
| 29 |
|
---|
| 30 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 31 | href="../../final-system/common/bash.xml"
|
---|
| 32 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 33 |
|
---|
[127585f] | 34 | <screen os="h"><userinput>./configure --prefix=/tools --with-curses \
|
---|
[bf8c11f] | 35 | --without-bash-malloc --host=${LFS_TARGET}</userinput></screen>
|
---|
| 36 |
|
---|
[175ff828] | 37 | <variablelist os="ad">
|
---|
[bf8c11f] | 38 | <title>The meaning of the configure options:</title>
|
---|
| 39 |
|
---|
| 40 | <varlistentry>
|
---|
| 41 | <term><parameter>--with-curses</parameter></term>
|
---|
| 42 | <listitem>
|
---|
[b66e30f] | 43 | <para>This option allows linking to Ncurses.</para>
|
---|
[bf8c11f] | 44 | </listitem>
|
---|
| 45 | </varlistentry>
|
---|
| 46 |
|
---|
| 47 | <varlistentry>
|
---|
| 48 | <term><parameter>--without-bash-malloc</parameter></term>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>This options turns off the use of Bash's memory allocation
|
---|
| 51 | (malloc) function which is known to cause segmentation faults.
|
---|
[f32f537] | 52 | By turning this option off, Bash will use the malloc function
|
---|
[bf8c11f] | 53 | from Glibc which are more stable.</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | </varlistentry>
|
---|
| 56 |
|
---|
| 57 | </variablelist>
|
---|
| 58 |
|
---|
| 59 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 60 | href="../../final-system/common/bash.xml"
|
---|
[127585f] | 61 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
[bf8c11f] | 62 |
|
---|
| 63 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 64 | href="../../final-system/common/bash.xml"
|
---|
[127585f] | 65 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
[bf8c11f] | 66 |
|
---|
| 67 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 68 | href="../../final-system/common/bash.xml"
|
---|
[127585f] | 69 | xpointer="xpointer(//*[@os='m'])"/>
|
---|
[bf8c11f] | 70 |
|
---|
| 71 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 72 | href="../../final-system/common/bash.xml"
|
---|
[127585f] | 73 | xpointer="xpointer(//*[@os='n'])"/>
|
---|
[bf8c11f] | 74 |
|
---|
[175ff828] | 75 | <para os="ae">Make a link for the programs that use <command>sh</command> for
|
---|
[bf8c11f] | 76 | a shell:</para>
|
---|
| 77 |
|
---|
[175ff828] | 78 | <screen os="af"><userinput>ln -s bash /tools/bin/sh</userinput></screen>
|
---|
[bf8c11f] | 79 |
|
---|
| 80 | </sect2>
|
---|
| 81 |
|
---|
| 82 | <sect2 role="content">
|
---|
| 83 | <title/>
|
---|
| 84 |
|
---|
| 85 | <para>Details on this package are located in <xref
|
---|
| 86 | linkend="contents-bash" role="."/></para>
|
---|
| 87 |
|
---|
| 88 | </sect2>
|
---|
| 89 |
|
---|
| 90 | </sect1>
|
---|