Skip to content

[RFE] AIX support #249

Open
Open
@bmarwell

Description

Hi,

The library is crossplatform and has both terminal-based implementations on *nix operating systems

Sadly, it does not compile on AIX. I tried gotop:

GOOS=aix GOARCH=ppc64 go build -C cmd/gotop -trimpath -ldflags="-s -w " -o tree.aix.ppc64-nodebug

However, it does not compile with:

❯ GOOS=aix GOARCH=ppc64 go build -C cmd/gotop  -trimpath -ldflags="-s -w "  -o tree.aix.ppc64-nodebug
# github.com/distatus/battery
../../../../go/pkg/mod/github.com/distatus/[email protected]/battery.go:118:13: undefined: systemGet
../../../../go/pkg/mod/github.com/distatus/[email protected]/battery.go:155:16: undefined: systemGetAll
# github.com/nsf/termbox-go
../../../../go/pkg/mod/github.com/nsf/[email protected]/termbox.go:58:17: undefined: syscall_Termios
../../../../go/pkg/mod/github.com/nsf/[email protected]/termbox.go:277:37: undefined: syscall_Termios
../../../../go/pkg/mod/github.com/nsf/[email protected]/termbox.go:286:37: undefined: syscall_Termios
../../../../go/pkg/mod/github.com/nsf/[email protected]/api.go:55:46: undefined: syscall.O_ASYNC
../../../../go/pkg/mod/github.com/nsf/[email protected]/api.go:69:17: undefined: syscall_IGNBRK
../../../../go/pkg/mod/github.com/nsf/[email protected]/api.go:69:34: undefined: syscall_BRKINT
../../../../go/pkg/mod/github.com/nsf/[email protected]/api.go:69:51: undefined: syscall_PARMRK
../../../../go/pkg/mod/github.com/nsf/[email protected]/api.go:70:3: undefined: syscall_ISTRIP
../../../../go/pkg/mod/github.com/nsf/[email protected]/api.go:70:20: undefined: syscall_INLCR
../../../../go/pkg/mod/github.com/nsf/[email protected]/api.go:70:36: undefined: syscall_IGNCR
../../../../go/pkg/mod/github.com/nsf/[email protected]/api.go:70:36: too many errors

AIX has way different syscalls it seems and is a "proper" UNIX.

Activity

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

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