CGO_ENABLE=0 go build -a -installsuffix cgo -ldflags '-s'
and that works . I finally get a static a.out .
but it's not worked under the 1.5 ?
how can I get it ?
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.