Hacker News new | ask | show | jobs
by errordeveloper 4075 days ago
They don't have to, one can run static binary without any problems. It's just that most people keep throwing in a whole distro...
2 comments

You can't make a truly static binary with glibc, so almost no one has a toolchain that is able to do it.
What do you mean by "truly static"?
One that doesn't try to load dynamic objects on runtime like glibc does, if you use certain functions.
im not sure why one wouldnt want a whole distro tho - it makes debugging, testing, etc far easier.