mingw32 and cygwin doesn't play nice!

My setup is the following:
- base installation of Cygwin
- base installation of MinGW
- trunk of wxWidgets.

Both cygwin\bin & mingw\bin are added to the path.

Running the following command fails with the errors after it:

mingw32-make -f makefile.gcc MSLU=1 BUILD=release USE_OPENGL=1 >release_errors.txt 2>&1

if not exist ..\..\include\wx\msw\setup.h copy ..\..\include\wx\msw\setup0.h ..\..\include\wx\msw\setup.h
process_begin: CreateProcess(NULL, -c "if not exist ..\..\include\wx\msw\setup.h copy ..\..\include\wx\msw\setup0.h ..\..\include\wx\msw\setup.h", ...) failed.
make (e=2): The system cannot find the file specified.

mingw32-make: *** [..\..\include\wx\msw\setup.h] Error 2

Surfing some forums I found out that also Alegro has this problem, and the solution is simple: disable cygwin (i just renamed cygwin to -cygwin).

No comments: