Even on Windows you won't get far
without a "proper" Shell (i.e.
bash) and the other usual build tools, such as GNU
make. Therefore the recommendation to use
MSYS2, which will give you
not only the latest version of
mingw-w64 (they provide
gcc as well as
clang), but also a full "Unix-like" environment with
bash and
make tools. In fact, in MSYS2, you can simply install whatever you need with the
pacman package manager.
Anyway, for me
LC_MESSAGES=zh_CN does works with
pacman
, but
not with
gcc
:
https://i.imgur.com/kx6dHPV.png
...which is
not much of a surprise, because there is
no "gcc.mo" or "cc1.mo" in my directory:
C:\msys64\usr\share\locale\zh_CN\LC_MESSAGES
Not sure, whether I'm missing a required package, or they simply didn't build gcc with locale support ?!
Maybe you want to ask here, which is more likely to give you an answer:
https://www.msys2.org/contact/