aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/lockingglibc.xml
diff options
context:
space:
mode:
authorAlex Gronenwoud <alex@linuxfromscratch.org>2003-10-22 22:26:46 +0000
committerAlex Gronenwoud <alex@linuxfromscratch.org>2003-10-22 22:26:46 +0000
commit360e2c43cd050de14a654927da9a7610af9e38ce (patch)
treefa36484dc5954a41335c6ec7ddf0b305c020129d /chapter05/lockingglibc.xml
parent1612f40eb9f1b8ea766ea308e40d6b3fe14f6fc5 (diff)
Adding some markup and doing miscellaneous shuffles.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3029 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/lockingglibc.xml')
-rw-r--r--chapter05/lockingglibc.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/chapter05/lockingglibc.xml b/chapter05/lockingglibc.xml
index 45ab0d683..db2286b49 100644
--- a/chapter05/lockingglibc.xml
+++ b/chapter05/lockingglibc.xml
@@ -34,7 +34,7 @@ to the new dynamic linker. A simple sed will accomplish this:</para>
<screen><userinput>SPECFILE=/tools/lib/gcc-lib/*/*/specs &amp;&amp;
sed -e 's@/lib/ld-linux.so.2@/tools/lib/ld-linux.so.2@g' \
-&nbsp;&nbsp;&nbsp;&nbsp;$SPECFILE > tempspecfile &amp;&amp;
+&nbsp;&nbsp;&nbsp;&nbsp;$SPECFILE &gt; tempspecfile &amp;&amp;
mv -f tempspecfile $SPECFILE &amp;&amp;
unset SPECFILE</userinput></screen>
@@ -63,7 +63,7 @@ following commands to eliminate this possibility:</para>
functions (compiling and linking) of the new toolchain are working as expected.
For this we are going to perform a simple sanity check:</para>
-<screen><userinput>echo 'main(){}' > dummy.c
+<screen><userinput>echo 'main(){}' &gt; dummy.c
gcc dummy.c
readelf -l a.out | grep ': /tools'</userinput></screen>