Changeset 8119

Show
Ignore:
Timestamp:
05/06/07 02:36:44 (2 years ago)
Author:
manuel
Message:

Removed nodump attributes from chapter06 readjusting and GCC sanity checks.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/BOOK/chapter06/gcc.xml

    r7972 r8119  
    162162    xpointer="xpointer(//*[@os='g'])"/> 
    163163 
    164 <screen role="nodump"><userinput>grep -B2 '^ /usr/include' dummy.log</userinput></screen> 
     164<screen><userinput>grep -B2 '^ /usr/include' dummy.log</userinput></screen> 
    165165 
    166166    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 
  • trunk/BOOK/chapter06/readjusting.xml

    r7986 r8119  
    5959  as expected. To do this, perform the following sanity checks:</para> 
    6060 
    61 <screen role="nodump" os="a"><userinput>echo 'main(){}' &gt; dummy.c 
     61<screen os="a"><userinput>echo 'main(){}' &gt; dummy.c 
    6262cc dummy.c -v -Wl,--verbose &amp;&gt; dummy.log 
    6363readelf -l a.out | grep ': /lib'</userinput></screen> 
     
    7474  <para os="d">Now make sure that we're setup to use the correct startfiles:</para> 
    7575 
    76 <screen role="nodump" os="e"><userinput>grep -o '/usr/lib.*/crt[1in].* .*' dummy.log</userinput></screen> 
     76<screen os="e"><userinput>grep -o '/usr/lib.*/crt[1in].* .*' dummy.log</userinput></screen> 
    7777 
    7878  <para os="f">If everything is working correctly, there should be no errors, 
     
    8686  files:</para> 
    8787 
    88 <screen role="nodump"><userinput>grep -B1 '^ /usr/include' dummy.log</userinput></screen> 
     88<screen><userinput>grep -B1 '^ /usr/include' dummy.log</userinput></screen> 
    8989 
    9090  <para os="h">This command should return successfully with the following output:</para> 
     
    9595  <para os="i">Next, verify that the new linker is being used with the correct search paths:</para> 
    9696 
    97 <screen role="nodump" os="j"><userinput>grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g'</userinput></screen> 
     97<screen os="j"><userinput>grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g'</userinput></screen> 
    9898 
    9999  <para os="k">If everything is working correctly, there should be no errors, 
     
    106106  <para os="l">Next make sure that we're using the correct libc:</para> 
    107107 
    108 <screen role="nodump" os="m"><userinput>grep "/lib/libc.so.6 " dummy.log</userinput></screen> 
     108<screen os="m"><userinput>grep "/lib/libc.so.6 " dummy.log</userinput></screen> 
    109109 
    110110  <para os="n">If everything is working correctly, there should be no errors, 
     
    115115  <para os="p">Lastly, make sure GCC is using the correct dynamic linker:</para> 
    116116 
    117 <screen role="nodump" os="q"><userinput>grep found dummy.log</userinput></screen> 
     117<screen os="q"><userinput>grep found dummy.log</userinput></screen> 
    118118 
    119119  <para os="r">If everything is working correctly, there should be no errors, 
     
    131131  <para os="u">Once everything is working correctly, clean up the test files:</para> 
    132132 
    133 <screen role="nodump" os="v"><userinput>rm -v dummy.c a.out dummy.log</userinput></screen> 
     133<screen os="v"><userinput>rm -v dummy.c a.out dummy.log</userinput></screen> 
    134134 
    135135</sect1>