New issue
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
AIX support #175
AIX support #175
Conversation
This commit adds support for AIX operating system. - move term_solaris.go to term_nosyscall6.go. AIX like solaris doesn't provide syscall.Syscall6 and must rely on x/sys/unix in order to perform syscalls. - This patch won't work with versions prior to 1.13 because it needs some constants added by https://go-review.googlesource.com/c/go/+/171339.
@@ -2,7 +2,7 @@ | |||
// Use of this source code is governed by a BSD-style | |||
// license that can be found in the LICENSE file. | |||
|
|||
// +build darwin dragonfly freebsd linux,!appengine netbsd openbsd solaris | |||
// +build aix darwin dragonfly freebsd linux,!appengine netbsd openbsd solaris |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be possible to add os400
here as well, as well as in the other files? I'm looking at making IBMi binaries based on the toolchain from https://github.com/kadler/go/tree/pase-go1.15.3
@@ -2,7 +2,7 @@ | |||
// Use of this source code is governed by a BSD-style | |||
// license that can be found in the LICENSE file. | |||
|
|||
// +build solaris | |||
// +build aix solaris |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add os400
@@ -1,4 +1,4 @@ | |||
// +build darwin dragonfly freebsd linux,!appengine netbsd openbsd solaris | |||
// +build aix darwin dragonfly freebsd linux,!appengine netbsd openbsd solaris | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
os400
please accept this pull, we need it thnaks |
Thanks, guys! |
I see you've merged this without my suggestions for |
@derickr oops, appreciate your help making a PR. |
This commit adds support for AIX operating system.
move term_solaris.go to term_nosyscall6.go. AIX like solaris doesn't
provide syscall.Syscall6 and must rely on x/sys/unix in order to perform
syscalls.
This patch won't work with versions prior to 1.13 because it needs
some constants added by https://go-review.googlesource.com/c/go/+/171339.