glibc-abi-tool
Dev tools
cross compilation tooling
SHOW HN2021
171points
32comments
#279of 2,533 in 2021
Top 12%of 2021 by points
How HN took it
CuriousMostly questions and neutral comments
6 positive, 11 neutral or asking, 0 mixed, 2 critical, out of 19 comments about the project. Thread score +0.14.
Idea: 3 for, 2 againstDesign: 1 for, 0 againstExecution: 1 for, 0 againstDocs: 1 for, 0 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Zig can target any glibc version, a useful feature
From 2 comments
Something is very wrong with the state of C/C++ compiler development that it takes a different language to come in and make these obviously useful convenience features. Why are…
modeless on HNWell, but zig just... does it?
juliancoffee on HN
Objections
Maintaining a custom encoding may be costly as glibc changes
From 1 comment
How much work is it to then maintain this bespoke encoding? Without having much context on it, it sounds similar to having to maintain unicode identifier character tables for…
lhorie on HN
Questions
Can the approach be used with other toolchains or C++ compilers
From 2 comments
What does "targeting any glibc version" mean? Is it the solution to the problem where you have to compile on an ancient Debian version to produce a binary that works on all Linux…
throwaway525142 on HNCan I use this incredible feature with other toolchains, or existing artifacts that have a glibc dependency? Say if I am using a language/toolchain which pulls in a C/C++…
gavinray on HN
How to test against arbitrary glibc versions
From 1 comment
How does one go about testing against arbitrary versions of glibc?
ridiculous_fish on HN
Alternatives named
Sysroot images with older glibc
From 2 comments
The correct solution for that is to just cross compile to whatever older CPU you want and target a sysroot that has a base image of whatever older glibc you wanted: you don't…
saurik on HNExample: https://github.com/ClickHouse-Extras/sysroot
zX41ZdbW on HN
Docker with older Linux distributions
From 1 comment
docker with older linux distros is a pretty decent way to do it
AndyKelley on HN