I use Console2 (link1 link2), it's like a wrapper around the standard console, but allows to copypaste text with ctrl-shift-c and ctrl-shift-v. I find it much more comfortable than the consoles that come with msys2, they have like ctrl-ins shift-ins weirdness. And having two different consoles around isn't good.
How can I use Console2 to launch the compiler? I'd add C:\msys64\mingw32\bin to PATH, but I don't want to have too many exe and dll around in PATH, don't want to distribute something that depends on libgcc_s_dw2-1.dll by accident.
Also, I need to be able to switch between mingw32 and mingw64 compilers somehow.
Tried reading c:/msys64/msys2_shell.cmd, don't understand what's in it.
Switching to windows command line probably requires to move from unix shell commands to windows ones. I could rewrite some makefiles I'm working with, it's not that much of a problem.
Maybe I could go the other way, to use msys2 console in my everyday life. I only use it to launch youtube-dl and one other program I wrote anyway. It would require making copypasting easier, and some way to switch between mingw32 and mingw64.