[PATCH] libiberty: drop bogus bitness from a MinGW triplet
Martin Storsjö
martin@martin.st
Fri Oct 9 13:18:56 GMT 2026
On Fri, 9 Oct 2026, Jan Beulich wrote:
> Well, System32 was hard to change at the time because it was (perhaps wrongly)
> hardcoded everywhere. For MinGW, when x86-64 support was added, the triplet
> had to be a new one anyway. They could therefore have used -mingw64. If the
> "32" in "-mingw32" doesn't mean 32 bits, what else does it mean?
I read it to mean "win32" as in the API, which is the same API as used on
all modern Windows variants, both 32 and 64 bit. (Hence also as _WIN32 is
defined also on 64 bit targets.)
IMO, I mostly see the "mingw32" part as a fixed OS token in the triplets -
off the top of my head I remember that "mingw32*" is checked as such in
lots of autoconf scripts, so I personally wouldn't venture out to try to
change it at this point. Then again, expanding the patterns to accept a
wider range of inputs certainly is fine with me - but I have at least
personally settled on this just being fixed "mingw32" in the context of
triplets.
// Martin
More information about the Gcc-patches
mailing list