Try to find out the versions of gcc, ld and dllwrap. If not possible it returns None for it.
()
| 272 | return LooseVersion(result.group(1).decode()) |
| 273 | |
| 274 | def get_versions(): |
| 275 | """ Try to find out the versions of gcc, ld and dllwrap. |
| 276 | |
| 277 | If not possible it returns None for it. |
| 278 | """ |
| 279 | commands = ['gcc -dumpversion', 'ld -v', 'dllwrap --version'] |
| 280 | return tuple([_find_exe_version(cmd) for cmd in commands]) |
| 281 | |
| 282 | def is_cygwingcc(): |
| 283 | '''Try to determine if the gcc that would be used is from cygwin.''' |
no test coverage detected
searching dependent graphs…