Mac is upgraded to 1.9.2 version and suddenly not able to build the simple 
program

package main


import (

        "fmt"

)


func main() {

        fmt.Printf("TEST")

}


Please help

$ go build a.go

# command-line-arguments

flag provided but not defined: -goversion

usage: compile [options] file.go...

  -% debug non-static initializers

  -+ compiling runtime

  -A for bootstrapping, allow 'any' type


------------------------------------------------

go version go1.9.2 darwin/amd64


go env

GOARCH="amd64"

GOBIN=""

GOEXE=""

GOHOSTARCH="amd64"

GOHOSTOS="darwin"

GOOS="darwin"

GOPATH="/Users/iwtx/work"

GORACE=""

GOROOT="/usr/local/go"

GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"

GCCGO="gccgo"

CC="clang"

GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments 
-fmessage-length=0 -gno-record-gcc-switches -fno-common"

CXX="clang++"

CGO_ENABLED="1"

CGO_CFLAGS="-g -O2"

CGO_CPPFLAGS=""

CGO_CXXFLAGS="-g -O2"

CGO_FFLAGS="-g -O2"

CGO_LDFLAGS="-g -O2"

PKG_CONFIG="pkg-config"

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to