public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
To: cygwin-apps@cygwin.com
Subject: Re: Dropping various support in future releases - what about Mingw?
Date: Mon, 1 Nov 2021 12:47:08 -0600	[thread overview]
Message-ID: <6a075655-7038-e3ae-8beb-a184600c1265@SystematicSw.ab.ca> (raw)
In-Reply-To: <87y267zvqp.fsf@Rainer.invalid>

On 2021-11-01 10:27, Achim Gratz wrote:
> Brian Inglis writes:
>> Perhaps someone could explain why Cygwin maintains, builds, and
>> distributes Mingw tools and libraries, instead of that being done by
>> the Mingw project(s) about which I know little?
> 
> MinGW is not a distribution, so there is no such source.
> 
>> As we will be dropping Windows versions and 32 bit support in future
>> releases, should we also be looking at dropping the Mingw packages we
>> maintain, build, and distribute, but do not appear to use, except for
>> building other Mingw packages?
> 
> In general the MingW packages in Cygwin are used (or were planned to be
> used) as dependencies for other stuff that Cygwin builds or uses, like
> setup.exe or cross-compilation toolchains.  There are undoubtedly
> instances where this is not the case or even never was, but those could
> be dropped anytime if it presents too much of a burden.

Are they actually being used for anything, in this Cygwin project, or 
the associated Mingw or Wine projects, or are they holdovers from some 
earlier RedHat project?
They appear to duplicate the Fedora packages, so who is using which 
package builds?

>> Supporting the two Mingw variations on packages sometimes takes as
>> much work as the Cygwin packages, as parts of the toolchains and
>> libraries may have different versions and dependencies.
>>
>> I basically build, check, and distribute those, but know little about
>> using them to check they work, so no idea whether they work or not.
> 
> So?

I support packages I use, or libraries used by those packages, as I can 
dogfood them before release.
I am uncomfortable that I can not do so to test the Mingw devel packages 
I upgrade with their Cygwin equivalents, and know so little about their 
potential uses.

>> I have had little success in getting the Mingw dual arch build process
>> working to any useful extent, and no response to questions about that,
>> which I may have buried at the end of my other verbiage on this list.
> 
> Not sure what you are talking about.  Anything MingW is always cross-compiled,
> so if one architecture works, then the other does as well (modulo bugs
> and differences in installed packages).

I mean the Mingw packages are sufficiently different from the Cygwin 
packages that they are effectively another different package, but 
requiring two separate cygport files.
I try to maintain all cygport files in sync using gvimdiff to reduce the 
maintenance burden and increase similarities and synergies at the cost 
of some commenting out and readability.

The inherit mingw cygclass intended to allow Mingw packages to be built 
like Cygwin packages using the same cygport for both arches, and not 
require two additional cygport files, two git-cygwin-package repos, etc.
It appears to work okay up to the compile but not install, package, etc. 
cygport stages.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]

  reply	other threads:[~2021-11-01 18:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-31 15:23 Brian Inglis
2021-10-31 23:06 ` Jason Pyeron
2021-11-01 17:33   ` Kyle Marek
2021-11-01 16:27 ` Achim Gratz
2021-11-01 18:47   ` Brian Inglis [this message]
2021-11-01 19:33     ` Achim Gratz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6a075655-7038-e3ae-8beb-a184600c1265@SystematicSw.ab.ca \
    --to=brian.inglis@systematicsw.ab.ca \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).