public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Achim Gratz <Stromeko@nexgo.de>
To: cygwin-apps@cygwin.com
Subject: Re: [RFC] cygport mingw.cygclass
Date: Mon, 28 Dec 2020 19:23:05 +0100	[thread overview]
Message-ID: <87ft3paiye.fsf@Rainer.invalid> (raw)
In-Reply-To: <2e2ce3ce2cb56200f583341bb5c15a61aff27a33.camel@cygwin.com> (Yaakov Selkowitz's message of "Mon, 11 May 2020 12:13:26 -0400")

Yaakov Selkowitz writes:
> To ease the maintenance of MinGW cross-compiling packages, I have
> written a new mingw.cygclass (actually, a series of cygclasses, but
> that's the top-level one that you should use) which is designed to
> allow building both 32- and 64-bit MinGW binaries in the same build.
>  It also allows for the introduction of Windows for ARM toolchains,
> which I have bootstrapped but am not able to verify due to the lack of
> access to such systems.  (Therefore, they are disabled by default.)

I've had a look finally and when I say that I really mean reading the
diffs…

> Because this moves fundamentally away from the single-arch paradigms on
> which cygport was built (remember that cygport predates the widespread
> availability of 64-bit Windows systems), extensive changes were
> required that could possibly break something.  Therefore, I have posted
> this to the topic/mingw branch of cygport.  If maintainers could please
> test this with both mingw and ordinary packages, that would be
> appreciated.

Anything that you'd particularly want to have checked or just generally
that things still work?  I still need to rebase that branch to current
master and then put my patches on top, so I don't expect to immediately
start testing.

> Also needed is feedback on the naming schemes currently used:
>
> * mingw32_* functions and MINGW32_ definitions/variables for i686
> * mingw64_* functions and MINGW64_ definitions/variables for x86_64

I'm not particularly enamored with mingw32 as that's not what it is
(both are using MingW-W64), on the other hand I have no better idea
either.

> * mingwarm32_* functions and MINGWARM32_ definitions/variables for
> armv7
> * mingwarm64_* functions and MINGWARM64_ definitions/variables for
> aarch64
>
> * mingw-* for source package names
> * mingw64-i686-* for i686 binary packages
> * mingw64-x86_64-* for x86_64 binary packages
> * mingw64-armv7-* for armv7 binary packages
> * mingw64-aarch64-* for aarch64 binary packages
>
> The function/definition naming scheme is designed around Fedora (which
> does not have ARM, so I made those up myself) but the binary package
> scheme match our current usage.  I realize the source package names are
> those from the old i686-only mingw.org packages; whether we want to
> rename the binary packages to mingw32-/mingw64-, or rename the source
> packages to mingw64-, or do something else entirely, I'm open to
> suggestions.

I'd tend to leave the names alone unless/until we come up with a way to target
multiple cross-architectures from the same package source.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf rackAttack V1.04R1:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

  reply	other threads:[~2020-12-28 18:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-11 16:13 Yaakov Selkowitz
2020-12-28 18:23 ` Achim Gratz [this message]
2021-06-20 15:54   ` Brian Inglis
2021-06-20 18:50     ` Brian Inglis
2021-06-20 19:00       ` Brian Inglis
2021-06-23  5:19         ` Brian Inglis

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=87ft3paiye.fsf@Rainer.invalid \
    --to=stromeko@nexgo.de \
    --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).