This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: x86/ -> ./ symlink
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin-apps at cygwin dot com
- Date: Wed, 3 Jul 2013 09:37:01 +0200
- Subject: Re: x86/ -> ./ symlink
- References: <20130701114624 dot GE2000 at calimero dot vinschen dot de> <20130701125056 dot GF2000 at calimero dot vinschen dot de> <20130701151815 dot GA4763 at calimero dot vinschen dot de> <20130701164017 dot GB4763 at calimero dot vinschen dot de> <87li5qdxdp dot fsf at Rainer dot invalid> <20130701180225 dot GC4763 at calimero dot vinschen dot de> <87hagedrdu dot fsf at Rainer dot invalid> <20130702092849 dot GA10542 at calimero dot vinschen dot de> <20130702094006 dot GB10542 at calimero dot vinschen dot de> <8738rw20zw dot fsf at Rainer dot invalid>
- Reply-to: cygwin-apps at cygwin dot com
On Jul 2 21:52, Achim Gratz wrote:
> Corinna Vinschen writes:
> >> Having said that, I could also change setup so that any setup.ini file
> >> which is not under a $target subdir is still recognized, but only when
> >> trying to install a 32 bit Cygwin. This should make the code backward
> >> compatible with existing layouts.
>
> I'm usually for backwards compatibility, however in this case the
> current behaviour is largely undocumented and somewhat surprising, so
> lets drop the cruft and clearly specify which directory layouts are
> expected and supported.
>
> > Easier said than done. If I change the code to ignore the subdir name
> > on 32 bit installs, then it will pick up 64 bit setup.ini files, too.
> >
> > Bad, bad, bad.
> >
> > Given that, I really think the best way to handle this is to use
> > different ini file names:
> >
> > setup-x86.ini -> 32 bit
> > setup-x86_64.ini -> 64 bit
> > setup.ini -> allow with 32 bit install for backward compat.
>
> Yes, that looks nicer to me. Yet another option is to stick with
> setup.ini and merge the information into a single file with [x86] and
> [x86_64] install sections.
Uh, oh. If you have two different HEAD versions on 32 and 64 bit, how
do you express this? This complicates the setup.ini handling a lot.
Personally I'm glad if I don't have to dig too deeply in the weird setup
C++ code.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat