X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Fri, 30 May 2008 08:16:10 -0400 From: Jason Tishler Subject: Re: binutils 20080523-1: version string breaks python2.5 distutils In-reply-to: <20080529164837.GB15731@ednor.casa.cgf.cx> To: cygwin AT cygwin DOT com Mail-followup-to: cygwin AT cygwin DOT com Message-id: <20080530121610.GA3996@tishler.net> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline References: <20080528 DOT 214955 DOT 28844 DOT 0 AT webmail21 DOT dca DOT untd DOT com> <20080529020130 DOT GA13665 AT ednor DOT casa DOT cgf DOT cx> <004b01c8c188$07c45700$2708a8c0 AT CAM DOT ARTIMI DOT COM> <20080529130157 DOT GA736 AT tishler DOT net> <20080529164837 DOT GB15731 AT ednor DOT casa DOT cgf DOT cx> User-Agent: Mutt/1.4.2.1i X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Thu, May 29, 2008 at 12:48:38PM -0400, Christopher Faylor wrote: > Why is python even checking the version? Python (i.e., Distutils) is checking versions so that it calls the appropriate driver and supplies the appropriate options. For example, in cygwinccompiler.py we have the following: # ld_version >= "2.10.90" and < "2.13" should also be able to use # gcc -mdll instead of dllwrap # Older dllwraps had own version numbers, newer ones use the # same as the rest of binutils ( also ld ) # dllwrap 2.10.90 is buggy if self.ld_version >= "2.10.90": self.linker_dll = "gcc" else: self.linker_dll = "dllwrap" # ld_version >= "2.13" support -shared so use it instead of # -mdll -static if self.ld_version >= "2.13": shared_option = "-shared" else: shared_option = "-mdll -static" > That seems very fragile to me. Agreed, but this stuff predates me (i.e., before 2000), so I loathe to touch it... :,) Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/