aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2005-09-29 20:55:40 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2005-09-29 20:55:40 +0000
commit59988921ebad528d4b2ea1a78be81f5feee490d5 (patch)
treeb66eb3c3de1bbad64774418afb69989e18641765 /chapter05
parent8c68addc8e21ceaec084545ee0ed6c983d054232 (diff)
Add -v to commands that accept it
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@6913 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/adjusting.xml6
-rw-r--r--chapter05/bash.xml2
-rw-r--r--chapter05/binutils-pass1.xml2
-rw-r--r--chapter05/gcc-pass1.xml4
-rw-r--r--chapter05/gcc-pass2.xml6
-rw-r--r--chapter05/glibc.xml4
-rw-r--r--chapter05/perl.xml6
-rw-r--r--chapter05/tcl.xml2
8 files changed, 16 insertions, 16 deletions
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:</para>
<screen><userinput>SPECFILE=`dirname $(gcc -print-libgcc-file-name)`/specs &amp;&amp;
gcc -dumpspecs > $SPECFILE &amp;&amp;
sed 's@^/lib/ld-linux.so.2@/tools&amp;@g' $SPECFILE &gt; tempspecfile &amp;&amp;
-mv -f tempspecfile $SPECFILE &amp;&amp;
+mv -vf tempspecfile $SPECFILE &amp;&amp;
unset SPECFILE</userinput></screen>
<para>It is recommended that the above
@@ -69,7 +69,7 @@ This is explained in more detail later in this chapter. Run the following comman
<!-- && used to ease copy and pasting -->
<screen><userinput>GCC_INCLUDEDIR=`dirname $(gcc -print-libgcc-file-name)`/include &amp;&amp;
find ${GCC_INCLUDEDIR}/* -maxdepth 0 -xtype d -exec rm -rf '{}' \; &amp;&amp;
-rm -f `grep -l "DO NOT EDIT THIS FILE" ${GCC_INCLUDEDIR}/*` &amp;&amp;
+rm -vf `grep -l "DO NOT EDIT THIS FILE" ${GCC_INCLUDEDIR}/*` &amp;&amp;
unset GCC_INCLUDEDIR</userinput></screen>
<caution><para>At this point, it is imperative to stop and ensure that
@@ -109,7 +109,7 @@ commands.</para>
<para>Once all is well, clean up the test files:</para>
-<screen><userinput>rm dummy.c a.out</userinput></screen>
+<screen><userinput>rm -v dummy.c a.out</userinput></screen>
</caution>
</sect1>
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.</para></listitem>
<para>Make a link for the programs that use <command>sh</command> for
a shell:</para>
-<screen><userinput>ln -s bash /tools/bin/sh</userinput></screen>
+<screen><userinput>ln -vs bash /tools/bin/sh</userinput></screen>
</sect2>
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.</para>
<para>The Binutils documentation recommends building Binutils outside of the
source directory in a dedicated build directory:</para>
-<screen><userinput>mkdir ../binutils-build
+<screen><userinput>mkdir -v ../binutils-build
cd ../binutils-build</userinput></screen>
<note><para>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.</para>
<para>The GCC documentation recommends building GCC outside of the
source directory in a dedicated build directory:</para>
-<screen><userinput>mkdir ../gcc-build
+<screen><userinput>mkdir -v ../gcc-build
cd ../gcc-build</userinput></screen>
<para>Prepare GCC for compilation:</para>
@@ -111,7 +111,7 @@ and therefore usable on all kinds of UNIX systems where the GNU C compiler
is not always installed. Running <command>cc</command> leaves the system administrator
free to decide which C compiler to install.</para>
-<screen><userinput>ln -s gcc /tools/bin/cc</userinput></screen>
+<screen><userinput>ln -vs gcc /tools/bin/cc</userinput></screen>
</sect2>
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
<filename class="directory">/tools</filename>, not the ones from your host
system.</para>
-<screen><userinput>cp gcc/Makefile.in{,.orig} &amp;&amp;
+<screen><userinput>cp -v gcc/Makefile.in{,.orig} &amp;&amp;
sed 's@\(^NATIVE_SYSTEM_HEADER_DIR =\).*@\1 /tools/include@g' \
gcc/Makefile.in.orig &gt; gcc/Makefile.in</userinput></screen>
@@ -83,7 +83,7 @@ Non-bootstrap builds omit this flag by default, so apply the following
<command>sed</command> to use it in order to ensure consistent compiler builds.
</para>
-<screen><userinput>cp gcc/Makefile.in{,.tmp} &amp;&amp;
+<screen><userinput>cp -v gcc/Makefile.in{,.tmp} &amp;&amp;
sed 's/^XCFLAGS =$/&amp; -fomit-frame-pointer/' gcc/Makefile.in.tmp \
&gt; gcc/Makefile.in</userinput></screen>
@@ -105,7 +105,7 @@ it.</para></important>
<para>Create a separate build directory again:</para>
-<screen><userinput>mkdir ../gcc-build
+<screen><userinput>mkdir -v ../gcc-build
cd ../gcc-build</userinput></screen>
<para>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.</para>
end about the absence of <filename>/tools/etc/ld.so.conf</filename>.
Prevent this warning with:</para>
-<screen><userinput>mkdir /tools/etc
+<screen><userinput>mkdir -v /tools/etc
touch /tools/etc/ld.so.conf</userinput></screen>
<para>Install the package:</para>
@@ -205,7 +205,7 @@ instructions, instead of the <parameter>install-locales</parameter>
target used above, will install the minimum set of locales necessary
for the tests to run successfully:</para>
-<screen><userinput>mkdir -p /tools/lib/locale
+<screen><userinput>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.</para>
<para>Install these tools and their libraries:</para>
-<screen><userinput>cp perl pod/pod2man /tools/bin
-mkdir -p /tools/lib/perl5/&perl-version;
-cp -R lib/* /tools/lib/perl5/&perl-version;</userinput></screen>
+<screen><userinput>cp -v perl pod/pod2man /tools/bin
+mkdir -pv /tools/lib/perl5/&perl-version;
+cp -Rv lib/* /tools/lib/perl5/&perl-version;</userinput></screen>
</sect2>
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`</userinput></screen>
<para>Now make a necessary symbolic link:</para>
-<screen><userinput>ln -s tclsh8.4 /tools/bin/tclsh</userinput></screen>
+<screen><userinput>ln -sv tclsh8.4 /tools/bin/tclsh</userinput></screen>
</sect2>