Friday, May 20, 2005

Use devenv in cygwin

I use cygwin as a better shell, not a development environment. Cygwin can do an excellent job as a replacement of cmd.exe(of course it can do much much more), and I like it very much.

There is a few corner cases where command behaves differently in cygwin and cmd.exe, for example:

When you type 'devenv' in cmd.exe, it will bring up, which is expected since Windows prefers .com to .exe if both exist in the user's PATH (see the article in C++ QA column of the February 2004 issue of MSDN Magazine). But when you type 'devenv' in cygwin, it will launch devenv.exe instead, the project will get compiled anyway but you can no longer see the output of the compilation process.


Post a Comment

<< Home