delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/09/15:26:10

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Tue, 9 Sep 2003 15:25:51 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Sam Steingold <sds AT gnu DOT org>
cc: cygwin AT cygwin DOT com
Subject: Re: package _version_ check
In-Reply-To: <uk78hsrj3.fsf@gnu.org>
Message-ID: <Pine.GSO.4.56.0309091523300.25402@slinky.cs.nyu.edu>
References: <uoextu8i3 DOT fsf AT gnu DOT org> <Pine DOT GSO DOT 4 DOT 56 DOT 0309091446300 DOT 25402 AT slinky DOT cs DOT nyu DOT edu>
<uk78hsrj3 DOT fsf AT gnu DOT org>
Importance: Normal
MIME-Version: 1.0

On Tue, 9 Sep 2003, Sam Steingold wrote:

> > Igor Pechtchanski <crpugpun AT pf DOT alh DOT rqh> [Tue, 9 Sep 2003 15:02:25 -0400 (EDT)]:
> > On Tue, 9 Sep 2003, Sam Steingold wrote:
> >
> > > how do I check that the installed package foo was built against cygwin
> > > 1.5 and not 1.3?
> >
> > I doubt there's a utility that'd tell you that.  At a guess, if you
> > only want to distinguish between these two versions, you should be
> > able to call "strings" on an executable from the package and look at
> > the bottom for functions added in Cygwin 1.5, but that's only going to
> > tell you if the package is using new functionality or not.
>
> shouldn't setup.exe refuse to install 1.5.3 unless all packages that
> use 1.3 are also upgraded?  like RPM and apt-get at al do?!

I think you got it backwards.  Cygwin 1.5 will run pre-1.5 programs with
no problems.  It's when you get a program compiled for 1.5 with an older
DLL (e.g., 1.3.22) that you have a problem.

FWIW, setup.ini syntax supports versioned requirements.  I don't think
"upset" (the tool that's used to generate setup.ini on the mirrors) does.
Setup itself currently does not support them either, IIRC.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019