On 24 May 2000, Alexandre Oliva wrote: > How about something like (totally untested): > > if (cd c:\\ && cd .. && test `pwd` = "C:\\") 2> /dev/null This should work with any DOS/Windows environment, it's not specific to any of the three (DJGPP, Mingw, or Cygwin). So it cannot reliably distinguish between these three. In addition, `pwd' will report "c:/", at least with the DJGPP port of Bash.
- Detecting DJGPP, Cygwin, Mingwin and EMX OS/2 Akim Demaille
- Re: Detecting DJGPP, Cygwin, Mingwin and EMX OS/2 Eli Zaretskii
- Re: Detecting DJGPP, Cygwin, Mingwin and EMX OS/2 Alexandre Oliva
- Re: Detecting DJGPP, Cygwin, Mingwin and EMX OS/2 Peter Eisentraut
- Re: Detecting DJGPP, Cygwin, Mingwin and EMX OS/2 Earnie Boyd
- Re: Detecting DJGPP, Cygwin, Mingwin and EMX OS/... Eli Zaretskii
- Re: Detecting DJGPP, Cygwin, Mingwin and EMX OS/2 Earnie Boyd
- Re: Detecting DJGPP, Cygwin, Mingwin and EMX OS/... Eli Zaretskii
- Re: Detecting DJGPP, Cygwin, Mingwin and EMX OS/2 Earnie Boyd
- Re: Detecting DJGPP, Cygwin, Mingwin and EMX OS/... Alexandre Oliva
- Re: Detecting DJGPP, Cygwin, Mingwin and EMX OS/2 Earnie Boyd
- Re: Detecting DJGPP, Cygwin, Mingwin and EMX OS/2 Earnie Boyd