Re: [go-nuts] what is the meaning of ENV GOEXE

2016-08-13 Thread Andy Xie
​thanks. Just run `go env` and see it and is curious about it. === Ning Xie 2016-08-13 20:01 GMT+08:00 Anmol Sethi : > I looked in the Go source code. You can’t actually set it as a environment > variable. It’s the value of the executable suffix. It’s set automatically > in build.go. Like

Re: [go-nuts] what is the meaning of ENV GOEXE

2016-08-13 Thread Anmol Sethi
I looked in the Go source code. You can’t actually set it as a environment variable. It’s the value of the executable suffix. It’s set automatically in build.go. Like if running on windows, it is '.exe’ or for c-archives it is ‘.a’. I don’t think it matters for an end user. > On Aug 13, 2016, a

[go-nuts] what is the meaning of ENV GOEXE

2016-08-13 Thread andyxning
when run `go env`, i get the following output: ``` GOARCH="amd64" GOBIN="" GOEXE="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOOS="darwin" GOPATH="/Users/andy/Github/go" GORACE="" GOROOT="/usr/local/go" GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64" GO15VENDOREXPERIMENT="1" CC="clang" GOGCCFLAGS="-fP