Skip to content

The UCRT MinGW flavor #1982

@slipher

Description

@slipher

At some point we will probably need to support building with MinGW toolchains with the UCRT runtime flavor. (This is as opposed to MSVCRT; see wiki for more information.) The obstacle now is that the external_deps libs link against MSVCRT-specific symbols. The MSVCRT toolchains are being deprecated or removed by some distributions:

  • In MSYS2, the MSVCRT toolchains are deprecated. But then, all 32-bit target toolchains are also deprecated.
  • In Arch Linux, MSVCRT toolchains are removed. 32- and 64-bit UCRT toolchains are provided.

In Debian stable, there is only a 64-bit UCRT toolchain provided, in addition to 32- and 64-bit MSVCRT ones.

Maybe it would be possible to tweak the deps build script so that the libraries are compatible with both UCRT and MSVCRT flavors, like we did for making them compatible with different exception flavors.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions