We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I was curious where executables end up when cross-compiling with "go install", so I thought I'd try it out with a random command:
$ GOARCH=386 GOOS=openbsd go install code.google.com/p/codesearch/cmd/cgrep go install: cannot install cross-compiled binaries when GOBIN is set
However, this seems like an odd error message since I don't have GOBIN set:
$ GOARCH=386 GOOS=openbsd go env GOARCH="386" GOBIN="" GOEXE="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOOS="openbsd" GOPATH="/usr/local/google/home/mdempsky/go" GORACE="" GOROOT="/usr/local/google/home/mdempsky/wd/go" GOTOOLDIR="/usr/local/google/home/mdempsky/wd/go/pkg/tool/linux_amd64" GO15VENDOREXPERIMENT="" CC="gcc" GOGCCFLAGS="-fPIC -m32 -fmessage-length=0" CXX="g++" CGO_ENABLED="0"
The text was updated successfully, but these errors were encountered:
Dup of #11778 .
Sorry, something went wrong.
No branches or pull requests
I was curious where executables end up when cross-compiling with "go install", so I thought I'd try it out with a random command:
However, this seems like an odd error message since I don't have GOBIN set:
The text was updated successfully, but these errors were encountered: