MinGW GCC Fatal Error - gcc: CreateProcess: No such file or directory
Solution 1:
After 2 days of trying, I finally found the cause for my problem.
It turned out that the MacType running on my computer somehow made the MinGW broken. So the solution is rather simple: terminate the MacType program.
If you still want to use MacType with MacTray, compatibility mode could be your choice. Do not use standalone mode!
I haven't figured out why MacType made my MinGW not work properly. If you have any clue, please feel free to make a comment!
Solution 2:
When I try to upgrade gcc MicroSoft Defender tells me it put D:\msys64\mingw64\lib\gcc\x86_64-w64-mingw32\11.2.0\cc1.exe in quarantaine because it contains VirTool:Win32/Obfuscator.IY So I think also your case cc1.exe was blocked by a virus protector and you are now using a substitute.