[Patches] [ python-Patches-718551 ] cygwinccompiler.get_versions() patch

SourceForge.net noreply@sourceforge.net
Wed, 09 Apr 2003 13:30:56 -0700


Patches item #718551, was opened at 2003-04-09 12:22
Message generated for change (Comment added) made by jlt63
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=718551&group_id=5470

Category: Distutils and setup.py
Group: Python 2.3
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Jason Tishler (jlt63)
Assigned to: Jason Tishler (jlt63)
Summary: cygwinccompiler.get_versions() patch

Initial Comment:
The cygwinccompiler.get_versions() function only
handles versions numbers of the form "x.y.z".
The attached patch enhances get_versions() to
handle "x.y" too (i.e., the ".z" is optional).

This change causes the unnecessary
"--entry _DllMain@12" link option to be
suppressed for recent Cygwin and Mingw
toolchains. Additionally, it directs recent Mingw
toolchains to use gcc instead of dllwrap during
linking.

----------------------------------------------------------------------

>Comment By: Jason Tishler (jlt63)
Date: 2003-04-09 12:30

Message:
Logged In: YES 
user_id=86216

Checked in as Lib/distutils/cygwinccompiler.py 1.23.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=718551&group_id=5470