Author: jhuntwork
Date: 2005-04-26 20:11:22 -0600 (Tue, 26 Apr 2005)
New Revision: 5126

Modified:
   branches/cross-lfs/BOOK/introduction/changelog.xml
   branches/cross-lfs/BOOK/temp-system/gcc.xml
Log:
Added sed to temp-system gcc

Modified: branches/cross-lfs/BOOK/introduction/changelog.xml
===================================================================
--- branches/cross-lfs/BOOK/introduction/changelog.xml  2005-04-27 01:28:07 UTC 
(rev 5125)
+++ branches/cross-lfs/BOOK/introduction/changelog.xml  2005-04-27 02:11:22 UTC 
(rev 5126)
@@ -122,6 +122,7 @@
 <listitem><para>Added missing --host flag for various Chapter 6 
packages.</para></listitem>
 <listitem><para>Moved instructions for populating dev till after directories 
are created.</para></listitem>
 <listitem><para>Added symlink for temp-system cc.</para></listitem>
+<listitem><para>Added a sed to change fixincludes search path, thanks Ryan 
Oliver.</para></listitem>
 </itemizedlist>
 </listitem>
 </itemizedlist>

Modified: branches/cross-lfs/BOOK/temp-system/gcc.xml
===================================================================
--- branches/cross-lfs/BOOK/temp-system/gcc.xml 2005-04-27 01:28:07 UTC (rev 
5125)
+++ branches/cross-lfs/BOOK/temp-system/gcc.xml 2005-04-27 02:11:22 UTC (rev 
5126)
@@ -51,6 +51,12 @@
 
 <screen><userinput>sed -i '/#define 
STANDARD_INCLUDE_DIR/s@"/usr/include"@[EMAIL PROTECTED]' 
gcc/cppdefault.c</userinput></screen>
 
+<para>Also, we need to set the directory searched by the fixincludes process 
for
+system headers, so it won't look at the host's headers:</para>
+
+<screen><userinput>sed -i '[EMAIL PROTECTED](^NATIVE_SYSTEM_HEADER_DIR 
=\)[EMAIL PROTECTED] /tools/[EMAIL PROTECTED]' \
+gcc/Makefile.in</userinput></screen>
+
 <important><para>The above patches and sed's are critical in ensuring a
 successful overall build. Do not forget to apply them.</para></important>
 

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to