Here is a python script that I use to invoke the cl.exe compiler (microsoft visual c++) from the cygwin command line. It automatically rewrites the cygwin paths as native windows paths, and replaces the ugly '/foo' options of cl.exe with nice '-foo' options . It is very minimalistic, it could do much more such as trying to map much more gcc-like options to their msvc equivalent ( "-fno-exceptions" with "/EHsc" , "-g" with "/Zi" etc)