For posterity, turned out this was wrong. I was able to get a C++ binary
that depends on libstdc++ running on Nano Server with no changes to the
compiler, I just had to avoid explicitly linking '-lkernel32' (which CMake
does by default) because it brings in __C_specific_handler.
On Mon, Dec 21, 20
Has anyone tried to use MinGW-w64 to compile a binary for Windows Nano
Server? The libstdc++ runtime statically links MessageBox, which seems to
make it impossible without changing libstdc++.
I'm looking at creating that change - to dynamically load user32 and check
for MessageBox - but was curiou