Changeset 06fbd5b for chapter05


Ignore:
Timestamp:
07/17/2005 04:16:10 AM (19 years ago)
Author:
Jeremy Huntwork <jhuntwork@…>
Children:
d1e22ae
Parents:
ccc95be
Message:

Added sed to chapter 5 gcc builds to force the fixincludes to use headers from /tools and not the host.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/gcc4/BOOK@6544 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
chapter05
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter05/gcc-pass1.xml

    rccc95be r06fbd5b  
    3636as <envar>CFLAGS</envar> and <envar>CXXFLAGS</envar>,
    3737unset them when building GCC.</para>
     38
     39<para>The following command adjusts where the gcc fixincludes search for headers
     40so that it fixes only the new headers under /tools, not the ones from your host system.</para>
     41
     42<screen><userinput>sed -i 's@\(^NATIVE_SYSTEM_HEADER_DIR =\).*@\1 /tools/include@g' \
     43      gcc/Makefile.in</userinput></screen>
    3844
    3945<para>The GCC documentation recommends building GCC outside of the
  • chapter05/gcc-pass2.xml

    rccc95be r06fbd5b  
    5858url="&lfs-root;/lfs/faq.html#no-ptys"/> for more information on how to get PTYs
    5959working.</para>
     60
     61<para>The following command adjusts where the gcc fixincludes search for headers
     62so that it fixes only the new headers under /tools, not the ones from your host system.</para>
     63
     64<screen><userinput>sed -i 's@\(^NATIVE_SYSTEM_HEADER_DIR =\).*@\1 /tools/include@g' \
     65      gcc/Makefile.in</userinput></screen>
    6066
    6167<para>Make an essential adjustment:</para>
Note: See TracChangeset for help on using the changeset viewer.