Voxelmanip Forums
voxelmanip.se voxelmanip.se
Posted on 2024-12-10 13:00 Link

Cross-compiling for Windows using llvm-mingw


10 December 2024

llvm-mingw is an LLVM-based MinGW-w64 toolchain distribution for compiling C/C++ programs for Windows. Prebuilt toolchains are provided as plain archives both for compiling natively on Windows, or for cross-compiling from Linux and macOS.

Compared to traditional MinGW-w64 based toolchains, it uses the Clang compiler as well as libc++, LLD and other LLVM projects in place of their GNU counterparts. With this it has support for compiling for Windows ARM targets and can target all four modern Windows architectures with one set of toolchain binaries.
(Read the full blog post)