Changeset 678acc1 for part3intro
- Timestamp:
- 08/05/2024 04:02:35 AM (7 weeks ago)
- Branches:
- 12.2, 12.2-rc1, multilib, trunk, xry111/arm64, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib
- Children:
- 653ead1
- Parents:
- 7119cf2a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
part3intro/toolchaintechnotes.xml
r7119cf2a r678acc1 360 360 <para>Next comes glibc. The most important 361 361 considerations for building glibc are the compiler, binary tools, and 362 kernel headers. The compiler is generally not an issue since glibc will363 always use the compilerrelating to the <parameter>--host</parameter>362 kernel headers. The compiler and binary tools are generally not an issue 363 since glibc will always those relating to the <parameter>--host</parameter> 364 364 parameter passed to its configure script; e.g., in our case, the compiler 365 will be <command>$LFS_TGT-gcc</command>. The binary tools and kernel 366 headers can be a bit more complicated. Therefore, we take no risks and use 367 the available configure switches to enforce the correct selections. After 365 will be <command>$LFS_TGT-gcc</command> and the <command>readelf</command> 366 tool will be <command>$LFS_TGT-readelf</command>. The kernel headers can 367 be a bit more complicated. Therefore, we take no risks and use 368 the available configure switch to enforce the correct selection. After 368 369 the run of <command>configure</command>, check the contents of the 369 370 <filename>config.make</filename> file in the <filename 370 371 class="directory">build</filename> directory for all important details. 371 Note the use of <parameter>CC="$LFS_TGT-gcc"</parameter> (with 372 <envar>$LFS_TGT</envar> expanded) to control which binary tools are used 373 and the use of the <parameter>-nostdinc</parameter> and 374 <parameter>-isystem</parameter> flags to control the compiler's include 375 search path. These items highlight an important aspect of the glibc 372 These items highlight an important aspect of the glibc 376 373 package—it is very self-sufficient in terms of its build machinery, 377 374 and generally does not rely on toolchain defaults.</para>
Note:
See TracChangeset
for help on using the changeset viewer.