You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Zig compiler supports building C and C++ code with zig cc and zig c++, since it uses clang internally. With clang, [cross] compiling to x86_64, aarch64, and arm32 is possible with the same toolchain, and even cross compiling to Windows/MacOS if desired. Additionally, Zig allows targeting a specific glibc release, which would make it easier to pin to glibc 2.17 (for manylinux2014 compliance) without using old distro containers.
I've had success in my Portable Python project using Zig to compile all of CPython and its dependencies against glibc 2.17, so I think it should be possible to do the same here.
The text was updated successfully, but these errors were encountered:
The Zig compiler supports building C and C++ code with
zig cc
andzig c++
, since it uses clang internally. With clang, [cross] compiling to x86_64, aarch64, and arm32 is possible with the same toolchain, and even cross compiling to Windows/MacOS if desired. Additionally, Zig allows targeting a specific glibc release, which would make it easier to pin to glibc 2.17 (for manylinux2014 compliance) without using old distro containers.I've had success in my Portable Python project using Zig to compile all of CPython and its dependencies against glibc 2.17, so I think it should be possible to do the same here.
The text was updated successfully, but these errors were encountered: