On Wed, May 27, 2020 at 10:08 AM X Xiao wrote:
>
> what's the difference between `go build -ldflags="-s -w"` and `go build` plus
> `strip myBinary`? it seems their result is different, sometimes running
> `strip` gives me smaller size, then why bother with ldflags?
I just tried a simple hello,
what's the difference between `go build -ldflags="-s -w"` and `go build`
plus `strip myBinary`? it seems their result is different, sometimes
running `strip` gives me smaller size, then why bother with ldflags?
--
You received this message because you are subscribed to the Google Groups
"golang-