cmake: Detect and log MinGW-w64 version when cross-compiling for Windows #36029

pull hebasto wants to merge 1 commits into bitcoin:master from hebasto:260819-migw-version changing 2 files +36 −0
  1. hebasto commented at 9:19 PM on August 19, 2026: member

    The behaviour of cross-compiled Windows binaries depends heavily on the toolchain components, including MinGW-w64. When the toolchain is not provided by a distro package manager, determining the exact version being used can be difficult.

    This PR detects and logs the MinGW-w64 version when cross-compiling for Windows, simplifying debugging when issues like this arise.

  2. cmake: Detect and log MinGW-w64 version when cross-compiling for Windows 09cdb3c488
  3. hebasto added the label Windows on Aug 19, 2026
  4. hebasto added the label Build system on Aug 19, 2026
  5. DrahtBot commented at 9:19 PM on August 19, 2026: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--006a51241073e994b41acfe9ec718e94-->

    Code Coverage & Benchmarks

    For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/36029.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline and AI policy for information on the review process.

    Type Reviewers
    ACK ViniciusCestarii

    If your review is incorrectly listed, please copy-paste <code>&lt;!--meta-tag:bot-skip--&gt;</code> into the comment that the bot should ignore.

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

  6. ViniciusCestarii commented at 8:36 PM on August 22, 2026: contributor

    tACK 09cdb3c48872b7a89a70abfaba86830655cc5007

    Cross-compiled for Windows on Arch Linux and the configure summary reports:

    Cross compiling ....................... TRUE, for Windows, x86_64, using MinGW-w64 14.0.0

    which matches the mingw-w64 version installed on my system.


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-09-09 07:56 UTC