- Timestamp:
- 12/28/2017 03:52:38 AM (6 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 25332b5
- Parents:
- 9fde3e9
- Location:
- chapter05
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/gcc-pass1.xml
r9fde3e9 r0d84af1 85 85 First we copy the files <filename>gcc/config/linux.h</filename>, 86 86 <filename>gcc/config/i386/linux.h</filename>, and 87 <filename>gcc/config/i368/linux64.h</filename> .to a file of87 <filename>gcc/config/i368/linux64.h</filename> to a file of 88 88 the same name but with an added suffix of <quote>.orig</quote>. Then the 89 89 first sed expression prepends <quote>/tools</quote> to every instance of … … 186 186 <term><parameter>--with-native-system-header-dir=/tools/include</parameter></term> 187 187 <listitem> 188 <para>By default GCC searches <filename>/usr/include</filename> for system 189 headers. In conjunction with the sysroot switch, this would translate normally 190 to <filename>$LFS/usr/include</filename>. However the headers that will be installed 191 in the next two sections will go to <filename>$LFS/tools/include</filename>. This 192 switch ensures that gcc will find them correctly. In the second pass of GCC, this 193 same switch will ensure that no headers from the host system are found.</para> 188 <para>By default GCC searches <filename>/usr/include</filename> for 189 system headers. In conjunction with the sysroot switch, this would 190 normally translate to <filename>$LFS/usr/include</filename>. However 191 the headers that will be installed in the next two sections will go 192 to <filename>$LFS/tools/include</filename>. This switch ensures that 193 gcc will find them correctly. In the second pass of GCC, this same 194 switch will ensure that no headers from the host system are 195 found.</para> 194 196 </listitem> 195 197 </varlistentry> -
chapter05/generalinstructions.xml
r9fde3e9 r0d84af1 49 49 <listitem> 50 50 51 <para>Finally, two lastimportant items must be emphasized:</para>51 <para>Finally, two important items must be emphasized:</para> 52 52 53 53 <important>
Note:
See TracChangeset
for help on using the changeset viewer.