In MSYS2, you can use the GNU toolchain to compile C code. However, using MSVC for comparison can be a bit more cumbersome.
In the Start menu, search for Developer Command Prompt for VS to find a shortcut like Developer Command Prompt for VS 2022. Th...