Home > Back-end >  Win10 using mingw mingw32 - the make command in the following error, please appreciate great god can
Win10 using mingw mingw32 - the make command in the following error, please appreciate great god can

Time:02-09

Environment variable has been correctly add


Cc ex1. C - o ex1
Process_begin: CreateProcess (NULL, cc ex1. C - o ex1,... ) failed.
Make (e=2) :
Ex1: the recipe for target ' 'failed
Make: * * * Error 2 [ex1]

CodePudding user response:

GCC command can be used normally

CodePudding user response:

One of two ways:
1. Change the cc in the Makefile to GCC,
2. Change the mingw directory under the bin folder of GCC to cc, compile changed back again after the completion of GCC,
And at the command line to determine whether the GCC in the PATH environment variable,
  • Related