MINGW-packages icon indicating copy to clipboard operation
MINGW-packages copied to clipboard

llvm: build pure llvm toolchain + zig: enable mingw64 & ucrt64

Open raedrizqie opened this issue 7 months ago • 7 comments

  • builds a pure llvm toolchain on top of MinGW
  • builds libc++ and libunwind with builtin compiler-rt on all systems
  • emulated TLS is disabled when building with Clang
  • remove dependency of libgcc_s and libpthread on non Clang systems
  • fix building of libc++abi shared library

Notes: We previously build with -DLIBCXXABI_ENABLE_STATIC_UNWINDER=ON which actually leads to libc++ not depends on libunwind, with both libc++ and libunwind exporting the same unwind functions.

If we set -DLIBCXXABI_ENABLE_STATIC_UNWINDER=OFF, then libc++ will correctly depends on libunwind.

raedrizqie avatar Jul 24 '24 12:07 raedrizqie