It is possible to have two versions of GCC to coexist: the native windows MinGW version and the cygwin linux version? Things get problematic when on Cygwin the system tries to c
Take both out of global path. Then create a new *.cmd
file with the following (takes Cygwin as example):
@echo off
rem file: start cmd with cygwin's path
cmd.exe /k path=C:\cygwin\bin;%path%
You can type path
in the command window to check.
Now you can work with cygwin. The environment only be valid within the cmd.exe
.