https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115643
--- Comment #17 from cqwrteur <unlvsur at live dot com> --- https://github.com/trcrsired/toolchainbuildscripts/blob/main/gccbuild/x86_64-w64-mingw32/x86_64-w64-mingw32.sh Here is the automatic script. Go and test yourself