Windows PATH Pecking Order
By kto on Aug 13, 2009
Just a reminder to the crazy JDK Windows developers out there ;\^) The order of paths in the PATH variable is critical:
First Visual Studio Then CYGWIN Lastly the Windows system32 directories
The link.exe needs to come from Visual Studio, not CYGWIN. And the standard Unix utility named tools (like grep) need to come from CYGWIN.