From 448e2261fb9720f0d5401d06f5a15fb8098c5e03 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Wed, 11 Jun 2014 04:57:05 +0000 Subject: 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 --- chapter06/createfiles.xml | 83 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) (limited to 'chapter06') 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 + + The purpose of each link: + + + /bin/bash + + Many bash scripts specify + /bin/bash. + + + + + /bin/cat + + This pathname is hard-coded into Glibc's configure script. + + + + + /bin/echo + + This is to satisfy one of the tests in Glibc's test suite, which + expects /bin/echo. + + + + + /bin/pwd + + Some configure scripts, particularly Glibc's, + have this pathname hard-coded. + + + + + /bin/stty + + This pathname is hard-coded into Expect, therefore it is needed + for Binutils and GCC test suites to pass. + + + + + /usr/bin/perl + + Many Perl scripts hard-code this path to the + perl program. + + + + + /usr/lib/libgcc_s.so{,.1} + + Glibc needs this for the pthreads library to work. + + + + + /usr/lib/libstdc++{,.6} + + This is needed by several tests in Glibc's test suite, as well as + for C++ support in GMP. + + + + + /usr/lib/libstdc++.la + + This prevents a /tools + reference that would otherwise be in + /usr/lib/libstdc++.la after GCC is installed. + + + + + /bin/sh + + Many shell scripts hard-code /bin/sh. + + + + + Historically, Linux maintains a list of the mounted file systems in the file /etc/mtab. Modern kernels maintain this list internally and exposes it to the user via the