Source: gcc-mingw-w64 Version: 25.2 Severity: wishlist Dear Maintainer,
Recent versions of Windows ship a newer C runtime, UCRT, meant to supersede the historical one, MSVCRT. In particular, the MSYS2 project now produces packages compiled against UCRT and considers them as the recommended ones: https://www.msys2.org/docs/environments/ Currently, MinGW cross-compilers in Debian produce binaries linked against MSVCRT. It would be nice if there was an easy and supported way of producing binaries linked against UCRT. As I understand it, there are two ways of achieving this: 1. at compile time of src:gcc-mingw-w64, by passing option --with-default-msvcrt=ucrt 2. at runtime, by passing a modified specs file to the cross-compiler (more specifically, replacing -lmsvcrt by -lucrt in the libgcc section) Option 2 already works with the current version of src:gcc-mingw-w64. But it would be better if there was an easier and less tricky way of achieving the same (for example by providing different package flavours; or by providing a specs file explictly designed for that purpose, possibly activated by the alternatives system). Thanks for your work, -- ⢀⣴⠾⠻⢶⣦⠀ Sébastien Villemot ⣾⠁⢠⠒⠀⣿⡁ Debian Developer ⢿⡄⠘⠷⠚⠋⠀ https://sebastien.villemot.name ⠈⠳⣄⠀⠀⠀⠀ https://www.debian.org