Joe Chan added the comment:
To prevent system crashes, I have to exclude msvc runtime library
$ diff -rupN cygwinccompiler.py.original cygwinccompiler.py
--- cygwinccompiler.py.original 2014-05-12 23:54:01.296303800 +0800
+++ cygwinccompiler.py 2014-05-13 02:59:37.870414900 +0800
@@ -341,7
Joe Chan added the comment:
better to parenthesis all three exes[gcc, ld and dllwrap] with "%s" to better
support path names that contain non-alphanumeric characters.
$ diff -rupN cygwinccompiler.py.original cygwinccompiler.py
--- cygwinccompiler.py.original 2014-05-12 23:54:01.29630
New submission from Joe Chan:
cannot return correct gcc version if the path name contains "space".
Suggest to change to:
$ diff -rupN cygwinccompiler.py.original cygwinccompiler.py
--- cygwinccompiler.py.original 2014-05-12 23:54:01.296303800 +0800
+++ cygwinccompiler.py 2014-0