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-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CABQ1pePkuuq6MKAhgoGxVRu%3D6Rs%3Dy%3DFC_pKjwg3spPFCNZ6gBw%40mail.gmail.com.

Reply via email to