Skip to content

cannot build on arm64 #60

Description

@honeypot55

can't build on target "darwin\arm64"

tried
git clone https://github.com/dim-an/cod.git cd cod go build

tried:
go get -u github.com/dim-an/cod

tried:
go install github.com/dim-an/cod@latest

PLATFORM: Apple M1 Max - MacOS Ventura 13.0.1 (22A400)
GO VERSION: go1.19.3 darwin/arm64
SHELL: zsh 5.9 (arm-apple-darwin22.1.0)

output of go env

GO111MODULE="" GOARCH="arm64" GOBIN="" GOCACHE="/Users/ambraurso/Library/Caches/go-build" GOENV="/Users/ambraurso/Library/Application Support/go/env" GOEXE="" GOEXPERIMENT="" GOFLAGS="" GOHOSTARCH="arm64" GOHOSTOS="darwin" GOINSECURE="" GOMODCACHE="/Users/ambraurso/etc/go/pkg/mod" GONOPROXY="" GONOSUMDB="" GOOS="darwin" GOPATH="/Users/ambraurso/etc/go" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/Users/ambraurso/.asdf/installs/golang/1.19.3/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/Users/ambraurso/.asdf/installs/golang/1.19.3/go/pkg/tool/darwin_arm64" GOVCS="" GOVERSION="go1.19.3" GCCGO="gccgo" AR="ar" CC="clang" CXX="clang++" CGO_ENABLED="1" GOMOD="/dev/null" GOWORK="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/r5/7br76ph52bd61jg9yfqjy_8c0000gn/T/go-build1180376230=/tmp/go-build -gno-record-gcc-switches -fno-common"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions