https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108866
--- Comment #11 from Peter Damianov <peter0x44 at disroot dot org> --- I sent a patch implementing this, along with an extra patch to add --with-windres= to configure (which I used to test the latter patch). https://inbox.sourceware.org/gcc-patches/[email protected]/T/#t Binutils will also need a patch to install windres into the "tooldir" otherwise gcc won't be able to find it in a "typical" toolchain setup.
