lfs/chapter05
Xi Ruoyao 0fc98a07ff
gcc-pass1: set --with-glibc-version to target glibc version
"info gccinstall" says:

'--with-glibc-version=MAJOR.MINOR'
     Tell GCC that when the GNU C Library (glibc) is used on the target
     it will be version MAJOR.MINOR or later.  Normally this can be
     detected from the C library's header files, but this option may be
     needed when bootstrapping a cross toolchain without the header
     files available for building the initial bootstrap compiler.

So it can, and should be set to the version of glibc which will be built
for the chroot environment.

On x86_64, currently it does not make any difference with values >=
2.13.  But it may make a difference if a new feature is added to glibc,
or on other platforms.
2021-12-03 03:06:18 +08:00
..
binutils-pass1.xml Remove spaces at end o lines - chapter05 2021-09-07 22:43:31 +02:00
chapter05.xml Slightly change the layout in part III, so that the preliminary material 2020-06-17 20:50:25 +00:00
gcc-pass1.xml gcc-pass1: set --with-glibc-version to target glibc version 2021-12-03 03:06:18 +08:00
glibc.xml move the ln note back to chap 5 glibc 2021-11-12 00:41:02 +08:00
introduction.xml Slightly change the layout in part III, so that the preliminary material 2020-06-17 20:50:25 +00:00
libstdc++.xml Remove spaces at end o lines - chapter05 2021-09-07 22:43:31 +02:00
linux-headers.xml Remove spaces at end o lines - chapter05 2021-09-07 22:43:31 +02:00