Build the toolchain against cross-headers only.
Name Category Description
avr-libc dev-embedded C library for Atmel AVR microcontrollers
glibc sys-libs GNU libc C library
linux-headers sys-kernel Linux system headers
mingw64-runtime dev-util Free Win64 runtime and import library definitions
musl sys-libs Light, fast and simple C library focused on standards-conformance and safety
newlib sys-libs Newlib is a C library intended for use on embedded systems
uclibc-ng sys-libs C library for developing embedded Linux systems

Thank you!