Changeset 77d2cd8d
- 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
- Files:
-
- 6 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> -
chapter06/gcc-pass2.xml
rad15abd r77d2cd8d 110 110 <listitem> 111 111 <para>Normally, using <parameter>--host</parameter> ensures that 112 a cross-compiler is used for building gcc, and that compiler knows112 a cross-compiler is used for building GCC, and that compiler knows 113 113 that it has to look for headers and libraries in <filename 114 114 class="directory">$LFS</filename>. But the build system of GCC uses -
chapter08/libffi.xml
rad15abd r77d2cd8d 61 61 <term><parameter>--with-gcc-arch=native</parameter></term> 62 62 <listitem> 63 <para>Ensure gccoptimizes for the current system. If this63 <para>Ensure GCC optimizes for the current system. If this 64 64 is not specified, the system is guessed and the code generated 65 65 may not be correct for some systems. If the generated code … … 68 68 about alternative system types, see <ulink 69 69 url='https://gcc.gnu.org/onlinedocs/gcc-&gcc-version;/gcc/x86-Options.html'> 70 the x86 options in the gccmanual</ulink>.</para>70 the x86 options in the GCC manual</ulink>.</para> 71 71 </listitem> 72 72 </varlistentry> -
chapter08/strippingagain.xml
rad15abd r77d2cd8d 31 31 </para> 32 32 33 <!-- also of interest are libgfortan, libgo, libgomp, and libobjc from gcc-->33 <!-- also of interest are libgfortan, libgo, libgomp, and libobjc from GCC --> 34 34 35 35 <!--<screen><userinput>save_lib="ld-2.25.so libc-2.25.so libpthread-2.25.so libthread_db-1.0.so"-->
Note:
See TracChangeset
for help on using the changeset viewer.