diff options
Diffstat (limited to 'chapter06/gcc.xml')
-rw-r--r-- | chapter06/gcc.xml | 100 |
1 files changed, 92 insertions, 8 deletions
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml index 75075e4f8..eef7c302e 100644 --- a/chapter06/gcc.xml +++ b/chapter06/gcc.xml @@ -112,14 +112,98 @@ cd ../gcc-build</userinput></screen> <screen><userinput>ln -sv gcc /usr/bin/cc</userinput></screen> - <note> - <para>At this point, it is strongly recommended to repeat the sanity - check performed earlier in this chapter. Refer back to <xref - linkend="ch-system-readjusting" role=","/> and repeat the check. If - the results are in error, then the most likely reason is that the GCC - Specs patch from <xref linkend="chapter-temporary-tools"/> was - erroneously applied here.</para> - </note> + <para>Now that our final toolchain is in place, it is important to again ensure + that compiling and linking will work as expected. We do this by performing + the same sanity checks as we did earlier in the chapter:</para> + + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" + href="readjusting.xml" + xpointer="xpointer(//*[@os='a'])"/> + + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" + href="readjusting.xml" + xpointer="xpointer(//*[@os='b'])"/> + + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" + href="readjusting.xml" + xpointer="xpointer(//*[@os='c'])"/> + + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" + href="readjusting.xml" + xpointer="xpointer(//*[@os='d'])"/> + + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" + href="readjusting.xml" + xpointer="xpointer(//*[@os='e'])"/> + + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" + href="readjusting.xml" + xpointer="xpointer(//*[@os='f'])"/> + +<screen><computeroutput>/usr/lib/gcc/i686-pc-linux-gnu/&gcc-version;/../../../crt1.o succeeded +/usr/lib/gcc/i686-pc-linux-gnu/&gcc-version;/../../../crti.o succeeded +/usr/lib/gcc/i686-pc-linux-gnu/&gcc-version;/../../../crtn.o succeeded</computeroutput></screen> + + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" + href="readjusting.xml" + xpointer="xpointer(//*[@os='g'])"/> + + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" + href="readjusting.xml" + xpointer="xpointer(//*[@os='h'])"/> + + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" + href="readjusting.xml" + xpointer="xpointer(//*[@os='i'])"/> + +<screen><computeroutput>SEARCH_DIR("/usr/i686-pc-linux-gnu/lib") +SEARCH_DIR("/usr/local/lib") +SEARCH_DIR("/lib") +SEARCH_DIR("/usr/lib");</computeroutput></screen> + + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" + href="readjusting.xml" + xpointer="xpointer(//*[@os='j'])"/> + + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" + href="readjusting.xml" + xpointer="xpointer(//*[@os='k'])"/> + + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" + href="readjusting.xml" + xpointer="xpointer(//*[@os='l'])"/> + + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" + href="readjusting.xml" + xpointer="xpointer(//*[@os='m'])"/> + + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" + href="readjusting.xml" + xpointer="xpointer(//*[@os='n'])"/> + + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" + href="readjusting.xml" + xpointer="xpointer(//*[@os='o'])"/> + + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" + href="readjusting.xml" + xpointer="xpointer(//*[@os='p'])"/> + + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" + href="readjusting.xml" + xpointer="xpointer(//*[@os='q'])"/> + + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" + href="readjusting.xml" + xpointer="xpointer(//*[@os='r'])"/> + + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" + href="readjusting.xml" + xpointer="xpointer(//*[@os='s'])"/> + + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" + href="readjusting.xml" + xpointer="xpointer(//*[@os='t'])"/> </sect2> |