I have been unable to locate a compiler named gcc-4 within the cygwin setup so I decided to do something more drastic: I edited the Makefile. There are two mentions of gcc-4. The first is

Code

CC = gcc-4

early in Makefile. I edited that to read:

Code

CC = gcc

The next is the compile command you see above. Its first line was:

Code

gcc-4 -E -c $(PASTHRU_INC) $(INC) \

(Why it didn't use the $(CC) is a mystery.) In any case I edited it to use the $(CC) and still, it generates the gcc-4 command instead of the intended gcc. I even went as far as to explicitly replace gcc-4 with gcc in that line and I still get the gcc-4 command!

OK, I give up! Where is it pulling the gcc-4 string from and how can I stop that?

It just occurred to me that I could create a new symbolic link gcc-4 -> gcc but that strikes me as dangerous, should a new update actually install a true gcc-4 and destroy the original gcc.