Skip to content

MinGW: update toolchain recipe to GCC 14.1.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.1.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)

I've not changed the toolchain location or SHA256 out of an abundance of caution, till we've reviewed the toolchain and checked it thoroughly. Still, let me know what you think!

Fixes #467

Edited by amyspark

Merge request reports