(genuine question, not familiar with this)
./configue --build=x86_64-pc-linux-gnu --host=x86_64-pc-mingw64
On Debian with wine-binfmt the build can call the crosscompiled intermediate binaries and have them executed with Wine. Pretty crazy but it works.
(genuine question, not familiar with this)