This repository was archived by the owner on Oct 31, 2023. It is now read-only.

Description
gox does not list openbsd/arm as a valid target:
gox -osarch-list | grep openbsd
openbsd/386 (default: true)
openbsd/amd64 (default: true)
Trying to build executable:
> $ gox -osarch="openbsd/arm" -output="bin/{{.Dir}}_{{.OS}}_{{.Arch}}"
No valid platforms to build for. If you specified a value
for the 'os', 'arch', or 'osarch' flags, make sure you're
using a valid value.
However, building by Go directly works just fine:
> $ GOOS=openbsd GOARCH=arm go build -v -o mybin
> $ file mybin
mybin: ELF 32-bit LSB executable, ARM, version 1 (OpenBSD), statically linked, for OpenBSD, not stripped
Version info:
> $ go version
go version go1.13.4 darwin/amd64