3 ms·
I don't see how zig cc would help with that. Your distribution probably also doesn't ship all the source files for your packages either, and there's no other wa
by Hello71 7y ago
I don't see how zig cc would help with that. Your distribution probably also doesn't ship all the source files for your packages either, and there's no other way to statically link.
- LessDmesg 7y agoGentoo does.
- Hello71 7y agoI've used Gentoo for almost a decade now, and no, that's not true. emerge doesn't just randomly keep source files on disk, and certainly not in a form easy to link to. In fact, Gentoo is worse than Debian for static linking, because not all packages have IUSE=static-libs. If it doesn't, you need to patch that ebuild and potentially many dependencies to support it. On the other hand, on Debian, the standard is for -dev packages to come with both headers and static libraries.