Skip to content

MinGW: update toolchain recipe to GCC 14.2.0 + MinGW 12.0.0

amyspark requested to merge amyspark/cerbero:mingw-update into main

Hi everyone,

This MR is to (finally!) update our toolchain to GCC 14.2.0 and MinGW 12.0.0. I used the MSYS2 recipes as a basis, backporting their patches and recreating them where appropriate, since some were just diffs without crediting.

Apart from the expected library updates, I've added the following:

  • Fixed a missing dependency on windows-default-manifest which GCC has been requiring since sometime after 8.2.0
  • Added the winstorecompat compatibility library since we also support UWP (let me know if this is not needed)
  • Synced the GCC flags with MSYS's
    • Set --enable-sharedas we had been (mistakenly) shipping shared GCC stdlib
  • Branded the GCC install with the version of GStreamer/Cerbero that was used to build it, and set the bug report URL to this repository
    • See gcc.recipe
  • (EDIT:) Enabled the Rust variant of MinGW, fixing the bootstrapping targets and hashes
    • MSVC must always be the default for a working build of cargo-c
    • The hashes for rustup's pc-windows-gnu targets are wrong; x86_64 is in fact i386's, but not the other way around

I've enabled a direct download through a draft commit for testers. Let me know what you think!

Fixes #467 (closed)

Edited by amyspark

Merge request reports

Loading