Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2)

Delta Between Two Patch Sets: Lib/distutils/cygwinccompiler.py

Issue 3871: cross and native build of python for mingw32 with distutils
Left Patch Set: Created 7 years, 5 months ago
Right Patch Set: Created 7 years, 4 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Lib/distutils/command/install.py ('k') | Lib/distutils/sysconfig.py » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 """distutils.cygwinccompiler 1 """distutils.cygwinccompiler
2 2
3 Provides the CygwinCCompiler class, a subclass of UnixCCompiler that 3 Provides the CygwinCCompiler class, a subclass of UnixCCompiler that
4 handles the Cygwin port of the GNU C compiler to Windows. It also contains 4 handles the Cygwin port of the GNU C compiler to Windows. It also contains
5 the Mingw32CCompiler class which handles the mingw32 port of GCC (same as 5 the Mingw32CCompiler class which handles the mingw32 port of GCC (same as
6 cygwin in no-cygwin mode). 6 cygwin in no-cygwin mode).
7 """ 7 """
8 8
9 # problems: 9 # problems:
10 # 10 #
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 # so we need to decode our bytes 435 # so we need to decode our bytes
436 return LooseVersion(result.group(1).decode()) 436 return LooseVersion(result.group(1).decode())
437 437
438 def get_versions(): 438 def get_versions():
439 """ Try to find out the versions of gcc, ld and dllwrap. 439 """ Try to find out the versions of gcc, ld and dllwrap.
440 440
441 If not possible it returns None for it. 441 If not possible it returns None for it.
442 """ 442 """
443 commands = ['gcc -dumpversion', 'ld -v', 'dllwrap --version'] 443 commands = ['gcc -dumpversion', 'ld -v', 'dllwrap --version']
444 return tuple([_find_exe_version(cmd) for cmd in commands]) 444 return tuple([_find_exe_version(cmd) for cmd in commands])
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+