https://bugs.winehq.org/show_bug.cgi?id=50257
--- Comment #37 from Alex S iwtcex@gmail.com --- (In reply to Jacek Caban from comment #36)
I don't know what's problematic about getting mingw-w64 to work on FreeBSD,
mingw-w64 works fine, but it's a bit intimidating to package.
but for other options, recent Wine may be built with PE support using plain Clang. Clang supports cross compilation to PE targets with its default config and that's all we need, we don't need any other mingw addition.
That looks promising, however Clang can't find stdarg.h. I tried on the whim stdarg.h from FreeBSD, Glibc and Mingw-w64: Wine only sucessfully compiles with the header from Glibc. What's the deal with that?