aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gcc.xml
diff options
context:
space:
mode:
authorJeremy Huntwork <jhuntwork@linuxfromscratch.org>2006-05-03 02:37:49 +0000
committerJeremy Huntwork <jhuntwork@linuxfromscratch.org>2006-05-03 02:37:49 +0000
commit09f1daf45389f406a5225fa829e896d87e3a140b (patch)
tree48f5a9ee32058588b35681f31d52eeb2dc1ee3a4 /chapter06/gcc.xml
parentfffff976f53bf9b861809ef6a8c61c5a4d6bf580 (diff)
Fixed sanity checks to work after final GCC and changed their format.
Resolves ticket #1768. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7583 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/gcc.xml')
-rw-r--r--chapter06/gcc.xml100
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>