aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorGreg Schafer <greg@linuxfromscratch.org>2004-01-17 07:53:07 +0000
committerGreg Schafer <greg@linuxfromscratch.org>2004-01-17 07:53:07 +0000
commit51fe2150ea982ef1b9f20f4387a2c77313727b13 (patch)
tree79df5f5ac314c2ee4cfcfd2048f3d2f442940fdb /chapter06
parent443cace8ce11238d6509c09ba9f3d7f7901d2d4b (diff)
Expanded the Locking in Glibc and Re-adjusting the toolchain
sections to also catch missing cc->gcc symlink and provide more help for when things go wrong. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3173 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/chapter06.xml22
1 files changed, 10 insertions, 12 deletions
diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml
index 839ac36e3..26e33a9d3 100644
--- a/chapter06/chapter06.xml
+++ b/chapter06/chapter06.xml
@@ -363,8 +363,8 @@ mv -f newspecfile $SPECFILE &amp;&amp;
unset SPECFILE</userinput></screen>
<para>Again, cutting and pasting the above is recommended. And just like
-before, it is a good idea to check the specs file to ensure the intended
-changes were actually made.</para>
+before, it is a good idea to visually inspect the specs file to verify the
+intended change was actually made.</para>
<important><para>If you are working on a platform where the name of the dynamic
linker is something other than <filename>ld-linux.so.2</filename>, you
@@ -380,7 +380,7 @@ basic functions (compiling and linking) of the adjusted toolchain are working
as expected. For this we are going to perform a simple sanity check:</para>
<screen><userinput>echo 'main(){}' &gt; dummy.c
-gcc dummy.c
+cc dummy.c
readelf -l a.out | grep ': /lib'</userinput></screen>
<para>If everything is working correctly, there should be no errors, and the
@@ -388,15 +388,13 @@ output of the last command will be:</para>
<blockquote><screen>[Requesting program interpreter: /lib/ld-linux.so.2]</screen></blockquote>
-<para>If you did not receive the output as shown above, or received no output at
-all, then something is seriously wrong. You will need to investigate and retrace
-your steps to find out where the problem is and correct it. There is no point in
-continuing until this is done. Most likely something went wrong with the specs
-file amendment above. Note especially that <filename>/lib</filename> now appears
-as the prefix of our dynamic linker. Of course, if you are working on a platform
-where the name of the dynamic linker is something other than
-<filename>ld-linux.so.2</filename>, then the output will be slightly
-different.</para>
+<para>(Of course allowing for platform specific differences in dynamic linker
+name). Note especially that <filename class="directory">/lib</filename> now
+appears as the prefix of our dynamic linker. If you did not receive the output
+as shown above, or received no output at all, then something is seriously wrong.
+You will need to investigate and retrace your steps to find out where the
+problem is and correct it. There is no point in continuing until this is done.
+Most likely something went wrong with the specs file amendment above.</para>
<para>Once you are satisfied that all is well, clean up the test files:</para>