Removed nodump attributes from chapter06 readjusting and GCC sanity checks.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8119 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Manuel Canales Esparcia 2007-05-06 08:36:44 +00:00
parent a2ac0943e5
commit 006ed0368e
2 changed files with 8 additions and 8 deletions

View File

@ -161,7 +161,7 @@ cd ../gcc-build</userinput></screen>
href="readjusting.xml" href="readjusting.xml"
xpointer="xpointer(//*[@os='g'])"/> xpointer="xpointer(//*[@os='g'])"/>
<screen role="nodump"><userinput>grep -B2 '^ /usr/include' dummy.log</userinput></screen> <screen><userinput>grep -B2 '^ /usr/include' dummy.log</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="readjusting.xml" href="readjusting.xml"

View File

@ -58,7 +58,7 @@ ln -sv /tools/bin/ld /tools/$(gcc -dumpmachine)/bin/ld</userinput></screen>
functions (compiling and linking) of the adjusted toolchain are working functions (compiling and linking) of the adjusted toolchain are working
as expected. To do this, perform the following sanity checks:</para> as expected. To do this, perform the following sanity checks:</para>
<screen role="nodump" os="a"><userinput>echo 'main(){}' &gt; dummy.c <screen os="a"><userinput>echo 'main(){}' &gt; dummy.c
cc dummy.c -v -Wl,--verbose &amp;&gt; dummy.log cc dummy.c -v -Wl,--verbose &amp;&gt; dummy.log
readelf -l a.out | grep ': /lib'</userinput></screen> readelf -l a.out | grep ': /lib'</userinput></screen>
@ -73,7 +73,7 @@ readelf -l a.out | grep ': /lib'</userinput></screen>
<para os="d">Now make sure that we're setup to use the correct startfiles:</para> <para os="d">Now make sure that we're setup to use the correct startfiles:</para>
<screen role="nodump" os="e"><userinput>grep -o '/usr/lib.*/crt[1in].* .*' dummy.log</userinput></screen> <screen os="e"><userinput>grep -o '/usr/lib.*/crt[1in].* .*' dummy.log</userinput></screen>
<para os="f">If everything is working correctly, there should be no errors, <para os="f">If everything is working correctly, there should be no errors,
and the output of the last command will be:</para> and the output of the last command will be:</para>
@ -85,7 +85,7 @@ readelf -l a.out | grep ': /lib'</userinput></screen>
<para os="g">Verify that the compiler is searching for the correct header <para os="g">Verify that the compiler is searching for the correct header
files:</para> files:</para>
<screen role="nodump"><userinput>grep -B1 '^ /usr/include' dummy.log</userinput></screen> <screen><userinput>grep -B1 '^ /usr/include' dummy.log</userinput></screen>
<para os="h">This command should return successfully with the following output:</para> <para os="h">This command should return successfully with the following output:</para>
@ -94,7 +94,7 @@ readelf -l a.out | grep ': /lib'</userinput></screen>
<para os="i">Next, verify that the new linker is being used with the correct search paths:</para> <para os="i">Next, verify that the new linker is being used with the correct search paths:</para>
<screen role="nodump" os="j"><userinput>grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g'</userinput></screen> <screen os="j"><userinput>grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g'</userinput></screen>
<para os="k">If everything is working correctly, there should be no errors, <para os="k">If everything is working correctly, there should be no errors,
and the output of the last command will be:</para> and the output of the last command will be:</para>
@ -105,7 +105,7 @@ SEARCH_DIR("/lib");</computeroutput></screen>
<para os="l">Next make sure that we're using the correct libc:</para> <para os="l">Next make sure that we're using the correct libc:</para>
<screen role="nodump" os="m"><userinput>grep "/lib/libc.so.6 " dummy.log</userinput></screen> <screen os="m"><userinput>grep "/lib/libc.so.6 " dummy.log</userinput></screen>
<para os="n">If everything is working correctly, there should be no errors, <para os="n">If everything is working correctly, there should be no errors,
and the output of the last command will be:</para> and the output of the last command will be:</para>
@ -114,7 +114,7 @@ SEARCH_DIR("/lib");</computeroutput></screen>
<para os="p">Lastly, make sure GCC is using the correct dynamic linker:</para> <para os="p">Lastly, make sure GCC is using the correct dynamic linker:</para>
<screen role="nodump" os="q"><userinput>grep found dummy.log</userinput></screen> <screen os="q"><userinput>grep found dummy.log</userinput></screen>
<para os="r">If everything is working correctly, there should be no errors, <para os="r">If everything is working correctly, there should be no errors,
and the output of the last command will be (allowing for and the output of the last command will be (allowing for
@ -130,6 +130,6 @@ SEARCH_DIR("/lib");</computeroutput></screen>
<para os="u">Once everything is working correctly, clean up the test files:</para> <para os="u">Once everything is working correctly, clean up the test files:</para>
<screen role="nodump" os="v"><userinput>rm -v dummy.c a.out dummy.log</userinput></screen> <screen os="v"><userinput>rm -v dummy.c a.out dummy.log</userinput></screen>
</sect1> </sect1>