aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@mengyan1223.wang>2021-12-01 05:56:34 +0800
committerXi Ruoyao <xry111@mengyan1223.wang>2021-12-03 03:06:18 +0800
commit0fc98a07ffecf993c6597d71089e40b3f5687fae (patch)
treef436cb8b9f26ced35cac947d87302e0b2e57345e /chapter08
parentbdc9e03b781ef2e4731cb45dfe3919cfb460d764 (diff)
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.
Diffstat (limited to 'chapter08')
0 files changed, 0 insertions, 0 deletions