On Thu, 28 Aug 2025, Richard Biener wrote: > I wonder if we can piggy-back on the existing --with-glibc-version=... > somehow?
Indeed, that's the correct way to handle such features so that cross compilers default to the same correct configuration as native. The configure tests in this patch use $CC in gcc/configure.ac, which can't be correct (it's a compiler for the host, not the target, and you can't expect a compiler for the target to be available at all in gcc/configure - building the compiler for the target does not require a previously built one to be available). gcc/configure.ac should only use $CC to test host properties, not target properties. -- Joseph S. Myers [email protected]
