source: temp-system/common/bash.xml@ 48f8316

Last change on this file since 48f8316 was bf8c11f, checked in by Jim Gifford <clfs@…>, 19 years ago

r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book

  • Property mode set to 100644
File size: 3.6 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 <sect2 role="package">
21 <title/>
22
23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
24 href="../../final-system/common/bash.xml"
25 xpointer="xpointer(//*[@role='package']/para[1])"/>
26
27 <segmentedlist>
28 <segtitle>&buildtime;</segtitle>
29 <segtitle>&diskspace;</segtitle>
30
31 <seglistitem>
32 <seg>Not checked yet</seg>
33 <seg>Not checked yet</seg>
34 </seglistitem>
35 </segmentedlist>
36
37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38 href="../../final-system/common/bash.xml"
39 xpointer="xpointer(//*[@role='package']/segmentedlist[2])"/>
40
41 </sect2>
42
43 <sect2 role="installation">
44 <title>Installation of Bash</title>
45
46 <para os="aa">Fix a minor issue during the build when cross-compling:</para>
47
48<screen os="ab"><userinput>cp Makefile.in Makefile.in.orig
49sed -e "s@size \$(Program)@${LFS_TARGET}-&amp;@g" Makefile.in.orig > Makefile.in</userinput></screen>
50
51 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
52 href="../../final-system/common/bash.xml"
53 xpointer="xpointer(//*[@os='e'])"/>
54
55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
56 href="../../final-system/common/bash.xml"
57 xpointer="xpointer(//*[@os='f'])"/>
58
59 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
60 href="../../final-system/common/bash.xml"
61 xpointer="xpointer(//*[@os='g'])"/>
62
63<screen><userinput>./configure --prefix=/tools --with-curses \
64 --without-bash-malloc --host=${LFS_TARGET}</userinput></screen>
65
66 <variablelist os="ac">
67 <title>The meaning of the configure options:</title>
68
69 <varlistentry>
70 <term><parameter>--with-curses</parameter></term>
71 <listitem>
72 <para>This do ...</para>
73 </listitem>
74 </varlistentry>
75
76 <varlistentry>
77 <term><parameter>--without-bash-malloc</parameter></term>
78 <listitem>
79 <para>This options turns off the use of Bash's memory allocation
80 (malloc) function which is known to cause segmentation faults.
81 By turning this option off, Bash will use the malloc functions
82 from Glibc which are more stable.</para>
83 </listitem>
84 </varlistentry>
85
86 </variablelist>
87
88 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
89 href="../../final-system/common/bash.xml"
90 xpointer="xpointer(//*[@os='i'])"/>
91
92 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
93 href="../../final-system/common/bash.xml"
94 xpointer="xpointer(//*[@os='j'])"/>
95
96 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
97 href="../../final-system/common/bash.xml"
98 xpointer="xpointer(//*[@os='l'])"/>
99
100 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
101 href="../../final-system/common/bash.xml"
102 xpointer="xpointer(//*[@os='m'])"/>
103
104 <para os="ad">Make a link for the programs that use <command>sh</command> for
105 a shell:</para>
106
107<screen os="ae"><userinput>ln -s bash /tools/bin/sh</userinput></screen>
108
109 </sect2>
110
111 <sect2 role="content">
112 <title/>
113
114 <para>Details on this package are located in <xref
115 linkend="contents-bash" role="."/></para>
116
117 </sect2>
118
119</sect1>
Note: See TracBrowser for help on using the repository browser.