X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_65,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Message-ID: <49F64775.7080002@byu.net> Date: Mon, 27 Apr 2009 18:01:57 -0600 From: Eric Blake User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com, config-patches AT gnu DOT org Subject: Re: Update config.guess to treat cygwin 1.7 as new system name References: <49A77132 DOT 3060506 AT byu DOT net> <20090427064710 DOT GA15625 AT air DOT net DOT au> <49F59D21 DOT 6050104 AT byu DOT net> <20090427160224 DOT GA7740 AT ednor DOT casa DOT cgf DOT cx> In-Reply-To: <20090427160224.GA7740@ednor.casa.cgf.cx> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Christopher Faylor on 4/27/2009 10:02 AM: >> That would be fine with me. Properly written scripts already use cygwin* >> as the case for detecting cygwin in general. > > I don't see any benefits to appending the cygwin version number to the > triplet. That just makes extra typing. So what if there is new > functionality? That's what configure is supposed to determine. But there's some things that configure scripts cannot determine without guessing (namely, any runtime test in a cross-compilation environment). But there are a number of places that exist where the current cross-compilation guess is pessimistic because of cygwin 1.5 deficiencies, where distinguishing from cygwin 1.7 can only be done by uname and/or config.guess. Reread my original mail from February, when I first suggested this, and pointed to such an example: http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob;f=m4/printf.m4;h=4207ace;hb=f7beddb > > What other systems emit version numbers after the OS name? Certainly > config.guess for linux doesn't do that and it could have done that given > the improvements from 2.2 -> 2.4 -> 2.6. Solaris 6 through 11. MacOS. etc. There's definitely precedence in config.guess for including OS version number in the config.guess output. - -- Don't work too hard, make some time for fun as well! Eric Blake ebb9 AT byu DOT net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkn2R3UACgkQ84KuGfSFAYAklwCgui8IvnNZApOPkRCOiUIpaRAj q1EAn39QDLRymXwGdHxTY6IXeaW7DAPV =H3KE -----END PGP SIGNATURE----- -- 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/