- Timestamp:
- 06/13/2020 08:55:55 AM (4 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, 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:
- aea20b5
- Parents:
- ad15abd
- Location:
- chapter05
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/gcc-pass1.xml
rad15abd r77d2cd8d 194 194 include the corresponding system <filename>limits.h</filename> header, in 195 195 this case, <filename>$LFS/usr/include/limits.h</filename>. However, at the 196 time of this build of gcc<filename>$LFS/usr/include/limits.h</filename>196 time of this build of GCC <filename>$LFS/usr/include/limits.h</filename> 197 197 does not exist, so the internal header that has just been installed is a 198 198 partial, self-contained file and does not include the extended features of -
chapter05/glibc.xml
rad15abd r77d2cd8d 100 100 <term><parameter>--with-headers=$LFS/usr/include</parameter></term> 101 101 <listitem> 102 <para>This tells Glibc to compile itself against the headers recently 103 installed to the usr/include directory, so that it knows exactly what 104 features the kernel has and can optimize itself accordingly.</para> 102 <para>This tells Glibc to compile itself against the headers 103 recently installed to the $LFS/usr/include directory, so that 104 it knows exactly what features the kernel has and can optimize 105 itself accordingly.</para> 105 106 </listitem> 106 107 </varlistentry> … … 113 114 </listitem> 114 115 </varlistentry> 115 <!--116 <varlistentry>117 <term><parameter>libc_cv_c_cleanup=yes</parameter></term>118 <listitem>119 <para>Similarly, we pass libc_cv_c_cleanup=yes through to the120 <command>configure</command> script so that the test is skipped and C121 cleanup handling support is configured.</para>122 </listitem>123 </varlistentry>124 125 <varlistentry>126 <term><parameter>libc_cv_ctors_header=yes</parameter></term>127 <listitem>128 <para>Similarly, we pass libc_cv_ctors_header=yes through to the129 <command>configure</command> script so that the test is skipped and130 gcc constructor support is configured.</para>131 </listitem>132 </varlistentry>-->133 116 134 117 </variablelist> -
chapter05/toolchaintechnotes.xml
rad15abd r77d2cd8d 228 228 during stage 2! Of course, the compiler built during stage 2, cc-lfs, 229 229 would be able to build those libraries, but (1) the build system of 230 gccdoes not know that it is usable on pc, and (2) using it on pc230 GCC does not know that it is usable on pc, and (2) using it on pc 231 231 would be at risk of linking to the pc libraries, since cc-lfs is a native 232 232 compiler. So we have to build libstdc++ later, in chroot.</para>
Note:
See TracChangeset
for help on using the changeset viewer.