> The attached patch allows Lua to be built on a Cygwin host targetting MinGW: > > make "CC=gcc -mno-cygwin" mingw # build MinGW version Thanks. Shouldn't we then add a cygwin target as below? cygwin: $(MAKE) "CC=gcc -mno-cygwin" mingw --lhf