https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91879
--- Comment #29 from joseph at codesourcery dot com <joseph at codesourcery dot com> --- On Mon, 7 Oct 2019, stsp at users dot sourceforge.net wrote: > Is there any way to convince the build system that the > resulting compiler is alien and cannot be used? I think A common way of doing that is to make $host and $build textually different (after passing through config.sub) while still logically the same. E.g. x86_64-pc-linux-gnu versus x86_64-unknown-linux-gnu. Likewise if you want to configure a compiler for the same target as the host but still want it to be configured as a cross compiler, make $target textually different from $host.