This article is based on mingw-w64 version 10, which is included with Debian Bookworm. It should be pretty straightforward to do the same thing with other mingw-w64 versions.
Why would you need this?
Compiling standard library for a different CPU may yield more compatibility.
In my case, I would like …