ziglang/libc-abi-tools
View on GitHub ↗ ★ 186 Zig archived
A repository that collects libc ABI files for multiple versions and a tool to combine them into one dataset.
5 mentions on Hacker News by 3 people: 1 story, 4 comments · first 2021-12-13 · latest 2025-04-01
20082026
-
One of the features Zig provides is ability to target any glibc version. See https://github.com/ziglang/glibc-abi-tool/ for more details on how this is solved.
comment by AndyKelley · 2025-04-01 · in The state of binary compatibility on Linux and how to address it -
> enabling you to target any version of glibc out of the box by building symbol mappings: https://github.com/ziglang/glibc-abi-tool/ This would be huge. How can I tell zig cc to use a particular glibc version though?
comment by formerly_proven · 2022-02-28 · in Using Zig as cross-platform C toolchain -
…hell, like enabling you to target any version of glibc out of the box by building symbol mappings: https://github.com/ziglang/glibc-abi-tool/ And that doesn't mention the most important part, IMO, which is that it lets you cross compile…
comment by slimsag · 2022-02-28 · in Using Zig as cross-platform C toolchain -
I have no fear of abysses: https://github.com/ziglang/glibc-abi-tool/ https://github.com/ziglang/zig/blob/master/tools/gen_stubs.z... bring it on
comment by AndyKelley · 2021-12-19 · in Zig: Drop MinGW-w64 -
▲ 171
Show HN: A 166 KB file for cross compiling glibc for any version, any targetstory by AndyKelley · 2021-12-13 · 32 comments