> On Jul 15, 2025, at 23:24, LIU Hao via Gcc-help <gcc-help@xxxxxxxxxxx> wrote: > > 在 2025-7-16 11:17, Adam Wood via Gcc-help 写道: >> Hello, I would like to contribute to improving symlink support on >> libstdc++ on Windows, but I am having trouble building GCC in the >> MSYS2 environment. I configured using the following command which is >> mostly the same as the output from gcc -v: > > There are mature recipes to build GCC in MSYS2: > > https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-gcc > > > You may clone the repo, cd into that directory in a UCRT64 shell, and run `makepkg-mingw`. In case there are missing dependencies, they can be installed with `pacman -S mingw-w64-ucrt-x86_64-<PACKAGE-NAME>`. I can verify this works. I just went through it myself.