source: temp-system/common/bash.xml@ a199d3b

Last change on this file since a199d3b was 3b9c9f7, checked in by Jim Gifford <clfs@…>, 19 years ago

r657@server (orig r655): manuel | 2005-11-08 13:07:24 -0800
Preparations to remove SBUs and DUs. Chapter temp-system, round 1.

  • Property mode set to 100644
File size: 3.2 KB
Line 
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 <!ENTITY % patches-entities SYSTEM "../../patches.ent">
6 %general-entities;
7 %patches-entities;
8]>
9
10<sect1 id="ch-temp-system-bash" role="wrap">
11 <?dbhtml filename="bash.html"?>
12
13 <title>Bash-&bash-version;</title>
14
15 <indexterm zone="ch-temp-system-bash">
16 <primary sortas="a-Bash">Bash</primary>
17 <secondary>temporary system</secondary>
18 </indexterm>
19
20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
21 href="../../final-system/common/bash.xml"
22 xpointer="xpointer(//*[@role='package'])"/>
23
24 <sect2 role="installation">
25 <title>Installation of Bash</title>
26
27 <para os="aa">Fix a minor issue during the build when cross-compling:</para>
28
29<screen os="ab"><userinput>cp Makefile.in Makefile.in.orig
30sed -e "s@size \$(Program)@${LFS_TARGET}-&amp;@g" Makefile.in.orig > Makefile.in</userinput></screen>
31
32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
33 href="../../final-system/common/bash.xml"
34 xpointer="xpointer(//*[@os='e'])"/>
35
36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
37 href="../../final-system/common/bash.xml"
38 xpointer="xpointer(//*[@os='f'])"/>
39
40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
41 href="../../final-system/common/bash.xml"
42 xpointer="xpointer(//*[@os='g'])"/>
43
44<screen><userinput>./configure --prefix=/tools --with-curses \
45 --without-bash-malloc --host=${LFS_TARGET}</userinput></screen>
46
47 <variablelist os="ac">
48 <title>The meaning of the configure options:</title>
49
50 <varlistentry>
51 <term><parameter>--with-curses</parameter></term>
52 <listitem>
53 <para>This do ...</para>
54 </listitem>
55 </varlistentry>
56
57 <varlistentry>
58 <term><parameter>--without-bash-malloc</parameter></term>
59 <listitem>
60 <para>This options turns off the use of Bash's memory allocation
61 (malloc) function which is known to cause segmentation faults.
62 By turning this option off, Bash will use the malloc functions
63 from Glibc which are more stable.</para>
64 </listitem>
65 </varlistentry>
66
67 </variablelist>
68
69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
70 href="../../final-system/common/bash.xml"
71 xpointer="xpointer(//*[@os='i'])"/>
72
73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
74 href="../../final-system/common/bash.xml"
75 xpointer="xpointer(//*[@os='j'])"/>
76
77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
78 href="../../final-system/common/bash.xml"
79 xpointer="xpointer(//*[@os='l'])"/>
80
81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
82 href="../../final-system/common/bash.xml"
83 xpointer="xpointer(//*[@os='m'])"/>
84
85 <para os="ad">Make a link for the programs that use <command>sh</command> for
86 a shell:</para>
87
88<screen os="ae"><userinput>ln -s bash /tools/bin/sh</userinput></screen>
89
90 </sect2>
91
92 <sect2 role="content">
93 <title/>
94
95 <para>Details on this package are located in <xref
96 linkend="contents-bash" role="."/></para>
97
98 </sect2>
99
100</sect1>
Note: See TracBrowser for help on using the repository browser.