https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103166
--- Comment #11 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Christophe Lyon from comment #10) > Why do we avoid link tests? Is that because of something like > https://lists.gnu.org/archive/html/autoconf/2007-03/msg00085.html ? No, I don't think it's related to that, but every time somebody explains it to me I instantly forget the answer. Here's what Joseph explained last time I asked: On some bare-metal targets, the compiler can't link unless you explicitly pass -T or similar options to select a particular BSP. For any hosted system supporting shared libraries, at least, the cross configuration ought to be the same as the native configuration (running the same configure tests), and hardcoding in crossconfig.m4 tends to be a source of bugs.