Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 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 Reply-To: cygwin AT cygwin DOT com To: Sam Steingold cc: cygwin AT cygwin DOT com Subject: Re: package _version_ check In-Reply-To: Message-ID: References: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 9 Sep 2003, Sam Steingold wrote: > > Igor Pechtchanski [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/