Hacker News new | ask | show | jobs
by worthless-trash 765 days ago
Are you sure you want glibc statically linked into your go executable ?
1 comments

glibc won't be used at all.

With Go on Linux libc is only needed when the libc DNS resolver is used (instead of Go's built-in one) or if C libraries are used. superfile doesn't need either of these so it's very simple to build it as a pure Go executable which will be statically linked and contain no C code at all.

Op's example however did use glibc though.