./waf configure exiting after "Checking for c flags '-MMD' : "

I have been following the guide here to compile using Cygwin64.

I got this working on another PC a few months ago without issue but now after following the steps to Install Cygwin, Install the GCC compiler then set up directories/paths, and clone the ArduPilot source I am failing to complete the ./waf configure step.

I am building for Cube Orange so I ran “./waf configure --board CubeOrange” which didn’t seem to complete Checking for c flags ‘-MMD’ which displayed no output and returned me to the Ardupilot directory. Running ./waf copter afterward outputs “The project was not configured: run “waf configure” first!”

I would really appreciate some help in determining the cause of the failed c flags ‘-MMD’ checks.

  • Jonathan.