diff options
Diffstat (limited to 'chapter06/chapter06.xml')
-rw-r--r-- | chapter06/chapter06.xml | 22 |
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 && 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(){}' > 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> |