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

openbsd/arm not listed as a valid build target #140

@jeroenjacobs79

Description

@jeroenjacobs79

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

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