This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: FW: setup: how to handle circular dependencies?
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Dave Korn <dave dot korn at artimi dot com>
- Cc: cygwin-apps at cygwin dot com
- Date: Fri, 16 Sep 2005 10:30:21 -0400 (EDT)
- Subject: Re: FW: setup: how to handle circular dependencies?
- References: <SERRANONzHaY6xV3Dls0000003c@SERRANO.CAM.ARTIMI.COM>
- Reply-to: cygwin-apps at cygwin dot com
On Fri, 16 Sep 2005, Dave Korn wrote:
> ----Original Message----
> >From: Dave Korn
> >Sent: 16 September 2005 14:23
>
> Oops, sent this to the wrong list. #!@%$ outlook-auto-address completion!
Ditto, though in my case it's reading the message on cygwin@ before the
one on cygwin-apps@...
On Fri, 16 Sep 2005, Igor Pechtchanski wrote:
>
> On Fri, 16 Sep 2005, Dave Korn wrote:
>
> > ----Original Message----
> > >From: Gerrit P. Haase
> > >Sent: 16 September 2005 14:14
> >
> > > Hi Setup maintainers,
> > >
> > > I need some circular dependencies, i.e. gcc-core requires
> > > gcc-core-mingw because -mno-cygwin will not work without the mingw
> > > version of the gcc runtime. However, the gcc-core-mingw package only
> > > includes the runtime which needs gcc-core to be useful.
> >
> > > Maybe I should include the mingw gcc runtimes in the main gcc
> > > packages?
> >
> > I can't see the use in having them separate if gcc-core-mingw is
> > really no use whatsoever on its own. Perhaps someone else can think of
> > a reason?
>
> The only use I can see is later on, if setup allows optional dependencies,
> someone may be able to save disk space by omitting gcc-core-mingw (and
> other gcc-mingw packages) if they never plan to use -mno-cygwin. At the
> moment, having a circular dependency is the same as having the two in the
> same package -- both will be installed (unless the user goes to great
> pains to unselect one).
>
> What I would suggest, however, is placing a stub in the main gcc package
> that would produce a meaningful error on -mno-cygwin if *-mingw packages
> aren't present, thus making gcc-core independent of gcc-core-mingw. If
> gcc-core-mingw is that exact stub, then by all means fold it into
> gcc-core.
> 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!
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA