https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111237

--- Comment #5 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Francois-Xavier Coudert from comment #4)


> INVALID, then. I need a better way to create this cross-compiler.

The way to build cross compilers for GCC is:
1. build a native compiler for source
2. build a cross compiler from the same sources using (1).

Trying to use clang as a cross-bootstrap for GCC is going to be (very)
unreliable at best and most likely will fail (I quite regularly get non-bugs
reported from attempts to do this).

I regularly build crosses and native crosses and (apart from one small amount
of magic needed to get the linker version passed to a native cross) it works
reliably (including Ada).

Reply via email to