From 59988921ebad528d4b2ea1a78be81f5feee490d5 Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Thu, 29 Sep 2005 20:55:40 +0000 Subject: Add -v to commands that accept it git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@6913 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/adjusting.xml | 6 +++--- chapter05/bash.xml | 2 +- chapter05/binutils-pass1.xml | 2 +- chapter05/gcc-pass1.xml | 4 ++-- chapter05/gcc-pass2.xml | 6 +++--- chapter05/glibc.xml | 4 ++-- chapter05/perl.xml | 6 +++--- chapter05/tcl.xml | 2 +- 8 files changed, 16 insertions(+), 16 deletions(-) (limited to 'chapter05') diff --git a/chapter05/adjusting.xml b/chapter05/adjusting.xml index 1991bd36d..302c1e1cd 100644 --- a/chapter05/adjusting.xml +++ b/chapter05/adjusting.xml @@ -41,7 +41,7 @@ dynamic linker that GCC will use: SPECFILE=`dirname $(gcc -print-libgcc-file-name)`/specs && gcc -dumpspecs > $SPECFILE && sed 's@^/lib/ld-linux.so.2@/tools&@g' $SPECFILE > tempspecfile && -mv -f tempspecfile $SPECFILE && +mv -vf tempspecfile $SPECFILE && unset SPECFILE It is recommended that the above @@ -69,7 +69,7 @@ This is explained in more detail later in this chapter. Run the following comman GCC_INCLUDEDIR=`dirname $(gcc -print-libgcc-file-name)`/include && find ${GCC_INCLUDEDIR}/* -maxdepth 0 -xtype d -exec rm -rf '{}' \; && -rm -f `grep -l "DO NOT EDIT THIS FILE" ${GCC_INCLUDEDIR}/*` && +rm -vf `grep -l "DO NOT EDIT THIS FILE" ${GCC_INCLUDEDIR}/*` && unset GCC_INCLUDEDIR At this point, it is imperative to stop and ensure that @@ -109,7 +109,7 @@ commands. Once all is well, clean up the test files: -rm dummy.c a.out +rm -v dummy.c a.out diff --git a/chapter05/bash.xml b/chapter05/bash.xml index 1754cd832..0d031ef53 100644 --- a/chapter05/bash.xml +++ b/chapter05/bash.xml @@ -64,7 +64,7 @@ from Glibc which are more stable. Make a link for the programs that use sh for a shell: -ln -s bash /tools/bin/sh +ln -vs bash /tools/bin/sh diff --git a/chapter05/binutils-pass1.xml b/chapter05/binutils-pass1.xml index 918f1b10a..2b8d9312a 100644 --- a/chapter05/binutils-pass1.xml +++ b/chapter05/binutils-pass1.xml @@ -44,7 +44,7 @@ unset them when building Binutils. The Binutils documentation recommends building Binutils outside of the source directory in a dedicated build directory: -mkdir ../binutils-build +mkdir -v ../binutils-build cd ../binutils-build In order for the SBU values listed in the rest of the book diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml index a960d1ae1..758164c27 100644 --- a/chapter05/gcc-pass1.xml +++ b/chapter05/gcc-pass1.xml @@ -39,7 +39,7 @@ unset them when building GCC. The GCC documentation recommends building GCC outside of the source directory in a dedicated build directory: -mkdir ../gcc-build +mkdir -v ../gcc-build cd ../gcc-build Prepare GCC for compilation: @@ -111,7 +111,7 @@ and therefore usable on all kinds of UNIX systems where the GNU C compiler is not always installed. Running cc leaves the system administrator free to decide which C compiler to install. -ln -s gcc /tools/bin/cc +ln -vs gcc /tools/bin/cc diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml index 7e1a1d29d..c52d6b446 100644 --- a/chapter05/gcc-pass2.xml +++ b/chapter05/gcc-pass2.xml @@ -73,7 +73,7 @@ script searches for headers, so that it fixes only the new headers under /tools, not the ones from your host system. -cp gcc/Makefile.in{,.orig} && +cp -v gcc/Makefile.in{,.orig} && sed 's@\(^NATIVE_SYSTEM_HEADER_DIR =\).*@\1 /tools/include@g' \ gcc/Makefile.in.orig > gcc/Makefile.in @@ -83,7 +83,7 @@ Non-bootstrap builds omit this flag by default, so apply the following sed to use it in order to ensure consistent compiler builds. -cp gcc/Makefile.in{,.tmp} && +cp -v gcc/Makefile.in{,.tmp} && sed 's/^XCFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in.tmp \ > gcc/Makefile.in @@ -105,7 +105,7 @@ it. Create a separate build directory again: -mkdir ../gcc-build +mkdir -v ../gcc-build cd ../gcc-build Before starting to build GCC, remember to unset any environment diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml index f0119bbaf..0efb8a034 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -169,7 +169,7 @@ output so that the log file can be examined for failures later. end about the absence of /tools/etc/ld.so.conf. Prevent this warning with: -mkdir /tools/etc +mkdir -v /tools/etc touch /tools/etc/ld.so.conf Install the package: @@ -205,7 +205,7 @@ instructions, instead of the install-locales target used above, will install the minimum set of locales necessary for the tests to run successfully: -mkdir -p /tools/lib/locale +mkdir -pv /tools/lib/locale localedef -i de_DE -f ISO-8859-1 de_DE localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro localedef -i en_HK -f ISO-8859-1 en_HK diff --git a/chapter05/perl.xml b/chapter05/perl.xml index 7bd454779..aac22ef4e 100644 --- a/chapter05/perl.xml +++ b/chapter05/perl.xml @@ -63,9 +63,9 @@ be run in the next chapter if desired. Install these tools and their libraries: -cp perl pod/pod2man /tools/bin -mkdir -p /tools/lib/perl5/&perl-version; -cp -R lib/* /tools/lib/perl5/&perl-version; +cp -v perl pod/pod2man /tools/bin +mkdir -pv /tools/lib/perl5/&perl-version; +cp -Rv lib/* /tools/lib/perl5/&perl-version; diff --git a/chapter05/tcl.xml b/chapter05/tcl.xml index 7cdcf226e..148314ac2 100644 --- a/chapter05/tcl.xml +++ b/chapter05/tcl.xml @@ -76,7 +76,7 @@ export TCLPATH=`pwd` Now make a necessary symbolic link: -ln -s tclsh8.4 /tools/bin/tclsh +ln -sv tclsh8.4 /tools/bin/tclsh -- cgit v1.2.3-54-g00ecf