diff options
Diffstat (limited to 'chapter05/gcc-pass1.xml')
-rw-r--r-- | chapter05/gcc-pass1.xml | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml index aa3632481..e4c888294 100644 --- a/chapter05/gcc-pass1.xml +++ b/chapter05/gcc-pass1.xml @@ -84,7 +84,7 @@ done</userinput></screen> <para>In case the above seems hard to follow, let's break it down a bit. First we copy the files <filename>gcc/config/linux.h</filename>, <filename>gcc/config/i386/linux.h</filename>, and - <filename>gcc/config/i368/linux64.h</filename>. to a file of + <filename>gcc/config/i368/linux64.h</filename> to a file of the same name but with an added suffix of <quote>.orig</quote>. Then the first sed expression prepends <quote>/tools</quote> to every instance of <quote>/lib/ld</quote>, <quote>/lib64/ld</quote> or @@ -185,12 +185,14 @@ cd build</userinput></screen> <varlistentry> <term><parameter>--with-native-system-header-dir=/tools/include</parameter></term> <listitem> - <para>By default GCC searches <filename>/usr/include</filename> for system - headers. In conjunction with the sysroot switch, this would translate normally - to <filename>$LFS/usr/include</filename>. However the headers that will be installed - in the next two sections will go to <filename>$LFS/tools/include</filename>. This - switch ensures that gcc will find them correctly. In the second pass of GCC, this - same switch will ensure that no headers from the host system are found.</para> + <para>By default GCC searches <filename>/usr/include</filename> for + system headers. In conjunction with the sysroot switch, this would + normally translate to <filename>$LFS/usr/include</filename>. However + the headers that will be installed in the next two sections will go + to <filename>$LFS/tools/include</filename>. This switch ensures that + gcc will find them correctly. In the second pass of GCC, this same + switch will ensure that no headers from the host system are + found.</para> </listitem> </varlistentry> |