|
|
|
|
|
by cm3
3596 days ago
|
|
BTW, what does one have to do to get fully statically linked executables? The binaries I've created with go get SOMETHING are linking against libc, but I remember that go doesn't rely on the system libc. Has that changed? For instance I just installed git-appraise, and it's a dynamically linked executable. What am I doing wrong? |
|
If you use `CGO_ENABLED=0 go build`, it should make a statically linked executable.