Re:Win32 is the stable Linux ABI
by JoshTriplett on Tuesday December 30, 2025 @02:21PM
(#46436887)
The difference is that you can statically link GTK+, and it'll work. You can't statically link glibc, if you want to be able to resolve hostnames or users, because of NSS modules.
[ Parent
| on HN ]
Static linking itself doesn't prevent modules. There's https://github.com/pikhq/musl-nscd for example
Re:Win32 is the stable Linux ABI
by JoshTriplett on Tuesday December 30, 2025 @05:00PM
(#46438531)
Not inherently, but static linking to glibc will not get you there without substantial additional effort, and static linking to a non-glibc C library will by default get you an absence of NSS.