This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: package _version_ check


On Tue, 9 Sep 2003, Sam Steingold wrote:

> > Igor Pechtchanski <crpugpun@pf.alh.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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]