diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2014-06-11 04:57:05 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2014-06-11 04:57:05 +0000 |
commit | 448e2261fb9720f0d5401d06f5a15fb8098c5e03 (patch) | |
tree | 30d5488d2df08bc0e5d839b2767b07537744d049 /chapter06/createfiles.xml | |
parent | 4ae2e7a4b215f7c367ccfe7b9d53a22c92eee492 (diff) |
Text changes:
Move about LFS to Chapter 2.
Add intor to Chapter 4.
Explain why specific symlinks are needed in Chapter 6.
Remove obsolete reference to old glibc version.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10575 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/createfiles.xml')
-rw-r--r-- | chapter06/createfiles.xml | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/chapter06/createfiles.xml b/chapter06/createfiles.xml index 76fc5174a..1aa193ec8 100644 --- a/chapter06/createfiles.xml +++ b/chapter06/createfiles.xml @@ -46,6 +46,89 @@ ln -sv /tools/lib/libstdc++.so{,.6} /usr/lib sed 's/tools/usr/' /tools/lib/libstdc++.la > /usr/lib/libstdc++.la ln -sv bash /bin/sh</userinput></screen> + <variablelist> + <title>The purpose of each link:</title> + + <varlistentry> + <term><parameter><filename>/bin/bash</filename></parameter></term> + <listitem> + <para>Many <command>bash</command> scripts specify + <filename>/bin/bash</filename>.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><parameter><filename>/bin/cat</filename></parameter></term> + <listitem> + <para>This pathname is hard-coded into Glibc's configure script.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><parameter><filename>/bin/echo</filename></parameter></term> + <listitem> + <para>This is to satisfy one of the tests in Glibc's test suite, which + expects <filename>/bin/echo</filename>.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><parameter><filename>/bin/pwd</filename></parameter></term> + <listitem> + <para>Some <command>configure</command> scripts, particularly Glibc's, + have this pathname hard-coded.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><parameter><filename>/bin/stty</filename></parameter></term> + <listitem> + <para>This pathname is hard-coded into Expect, therefore it is needed + for Binutils and GCC test suites to pass.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><parameter><filename>/usr/bin/perl</filename></parameter></term> + <listitem> + <para>Many Perl scripts hard-code this path to the + <command>perl</command> program.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><parameter><filename>/usr/lib/libgcc_s.so{,.1}</filename></parameter></term> + <listitem> + <para>Glibc needs this for the pthreads library to work.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><parameter><filename>/usr/lib/libstdc++{,.6}</filename></parameter></term> + <listitem> + <para>This is needed by several tests in Glibc's test suite, as well as + for C++ support in GMP.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><parameter><filename>/usr/lib/libstdc++.la</filename></parameter></term> + <listitem> + <para>This prevents a <filename class="directory">/tools</filename> + reference that would otherwise be in + <filename>/usr/lib/libstdc++.la</filename> after GCC is installed.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><parameter><filename>/bin/sh</filename></parameter></term> + <listitem> + <para>Many shell scripts hard-code <filename>/bin/sh</filename>.</para> + </listitem> + </varlistentry> + + </variablelist> + <para>Historically, Linux maintains a list of the mounted file systems in the file <filename>/etc/mtab</filename>. Modern kernels maintain this list internally and exposes it to the user via the <filename |