aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gcc.xml
diff options
context:
space:
mode:
authorDan Nichilson <dnicholson@linuxfromscratch.org>2007-03-23 21:05:26 +0000
committerDan Nichilson <dnicholson@linuxfromscratch.org>2007-03-23 21:05:26 +0000
commite9a652b5f0811defdb3d22e1bb679d2781add0c2 (patch)
treeacf0cc692bc8b5c557f9754ecc0e25dfc152fe9c /chapter06/gcc.xml
parent8bfbf407dd71cf55a19e2672830a80eb47767793 (diff)
Readjust the gcc header search path to include /usr/include and test it
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7972 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/gcc.xml')
-rw-r--r--chapter06/gcc.xml24
1 files changed, 19 insertions, 5 deletions
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml
index e58472759..288e049f8 100644
--- a/chapter06/gcc.xml
+++ b/chapter06/gcc.xml
@@ -161,19 +161,20 @@ cd ../gcc-build</userinput></screen>
href="readjusting.xml"
xpointer="xpointer(//*[@os='g'])"/>
+<screen role="nodump"><userinput>grep -B2 '^ /usr/include' dummy.log</userinput></screen>
+
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="readjusting.xml"
xpointer="xpointer(//*[@os='h'])"/>
+<screen><computeroutput>#include &lt;...&gt; search starts here:
+ /usr/lib/gcc/i686-pc-linux-gnu/&gcc-version;/include
+ /usr/include</computeroutput></screen>
+
<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'])"/>
@@ -182,6 +183,11 @@ SEARCH_DIR("/usr/lib");</computeroutput></screen>
href="readjusting.xml"
xpointer="xpointer(//*[@os='k'])"/>
+<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='l'])"/>
@@ -218,6 +224,14 @@ SEARCH_DIR("/usr/lib");</computeroutput></screen>
href="readjusting.xml"
xpointer="xpointer(//*[@os='t'])"/>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="readjusting.xml"
+ xpointer="xpointer(//*[@os='u'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="readjusting.xml"
+ xpointer="xpointer(//*[@os='v'])"/>
+
</sect2>
<sect2 id="contents-gcc" role="content">