Re:Show HN: A 166 KB file for cross compiling glibc for any ...
by richardwhiuk on Monday December 13, 2021 @01:00PM
(#29542234)
What's the point in this? Surely you'll have more dependencies than glibc?
[ Parent
| on HN ]
Re:Show HN: A 166 KB file for cross compiling glibc for any ...
by klodolph on Monday December 13, 2021 @01:25PM
(#29542589)
You will, but glibc is a common dependency on a dynamic lib. It's nice to be able to compile something and target an old glibc so your program can run on old systems (and by "old" I'm just talking about LTS).
Re:Show HN: A 166 KB file for cross compiling glibc for any ...
by zokier on Monday December 13, 2021 @04:47PM
(#29545110)
glibc is notoriously difficult to link against; most other typical libraries have simpler ABI.
This RH blog post is good intro on the topic: https://developers.redhat.com/blog/2019/08/01/how-the-gnu-c-...