Workarounds for error using GNU make command under Windows
=
> Error message: Make:interrupt/exception caught (code = 0xc00000fd, addr = 0x4227d3)
# 1. Reason
The environment variable is configured with ' D:\Program Files ' (x86) \git\bin, a ' sh.exe ' exists in the directory
When the make command is executed, if the path to the shell is not specified in the ' MakeFile ' file, ' makes ' will go to the environment variable and find a ' x:\\xxx\xxx\sh.exe ' as its default shell
> Original
```
The program used as the shell was taken from the variable shell. If This variable was not a set in your makefile, the program/bin/sh is used as the shell. The argument (s) passed to the shell is taken from the variable. Shellflags. The default value of. Shellflags Is-c Normally, Or-ec in posix-conforming mode.
```
> Reference: https://www.gnu.org/software/make/manual/html_node/Choosing-the-Shell.html
Because the environment variable is configured with ' D:\Program files ' (x86) \git\bin, make takes ' D:\Program files (x86) \git\bin\sh.exe ' as its shell
In Windows, the ' C:\Windows\System32\cmd.exe ' is used as the shell, so it produces the error shown in the title
# # 2. Workaround
At the initial location of the ' MakeFile ' file, add:
"' Makefile
Shell=c:\windows\system32\cmd.exe
```
Workarounds for error using GNU make command under Windows