source: temp-system/common/bash.xml@ 1fc16cb

Last change on this file since 1fc16cb was fd90c25f, checked in by Jim Gifford <clfs@…>, 19 years ago

r2886@server (orig r1382): chris | 2006-04-14 08:51:59 -0700
Text updates and grammar fixes

  • Property mode set to 100644
File size: 2.8 KB
RevLine 
[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
[287d7b9]27<screen os="ab"><userinput>cp -v Makefile.in Makefile.in.orig
[7cc2095]28sed -e "s@size \$(Program)@${LFS_TARGET}-&amp;@g" \
29 Makefile.in.orig > Makefile.in</userinput></screen>
[bf8c11f]30
[fd90c25f]31 <para os="c1">Remove a test that causes the build to fail:</para>
[ec00b5da]32
[fe884f4]33<screen os="c2"><userinput>echo "ac_cv_func_setvbuf_reversed=no" >> config.cache</userinput></screen>
[ec00b5da]34
[bf8c11f]35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
36 href="../../final-system/common/bash.xml"
37 xpointer="xpointer(//*[@os='g'])"/>
38
[96e7720]39<screen os="h"><userinput>./configure --prefix=/tools \
[ec00b5da]40 --without-bash-malloc --host=${LFS_TARGET} \
41 --cache-file=config.cache</userinput></screen>
[bf8c11f]42
[175ff828]43 <variablelist os="ad">
[fd90c25f]44 <title>The meaning of the configure option:</title>
[bf8c11f]45
46 <varlistentry>
47 <term><parameter>--without-bash-malloc</parameter></term>
48 <listitem>
[e6ace8f]49 <para>This option turns off the use of Bash's memory allocation
[bf8c11f]50 (malloc) function which is known to cause segmentation faults.
[e1beb751]51 By turning this option off, Bash will use the malloc functions
[bf8c11f]52 from Glibc which are more stable.</para>
53 </listitem>
54 </varlistentry>
55
56 </variablelist>
57
58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
59 href="../../final-system/common/bash.xml"
[127585f]60 xpointer="xpointer(//*[@os='j'])"/>
[bf8c11f]61
62 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
63 href="../../final-system/common/bash.xml"
[127585f]64 xpointer="xpointer(//*[@os='k'])"/>
[bf8c11f]65
66 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
67 href="../../final-system/common/bash.xml"
[127585f]68 xpointer="xpointer(//*[@os='m'])"/>
[bf8c11f]69
70 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
71 href="../../final-system/common/bash.xml"
[127585f]72 xpointer="xpointer(//*[@os='n'])"/>
[bf8c11f]73
[8c50f0e]74 <para os="ae">Make a link for programs that use <command>sh</command> for
[bf8c11f]75 a shell:</para>
76
[287d7b9]77<screen os="af"><userinput>ln -sv bash /tools/bin/sh</userinput></screen>
[bf8c11f]78
79 </sect2>
80
81 <sect2 role="content">
82 <title/>
83
84 <para>Details on this package are located in <xref
85 linkend="contents-bash" role="."/></para>
86
87 </sect2>
88
89</sect1>
Note: See TracBrowser for help on using the repository browser.