Skip to content
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

Merged
merged 1 commit into from Apr 17, 2022
Merged

AIX support #175

merged 1 commit into from Apr 17, 2022

Conversation

Helflym
Copy link
Contributor

@Helflym Helflym commented Apr 15, 2019

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.

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
Copy link
Contributor

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
Copy link
Contributor

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

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • os400

@hmmftg
Copy link

hmmftg commented Apr 17, 2022

please accept this pull, we need it

thnaks

@chzyer chzyer merged commit a5e9f81 into chzyer:master Apr 17, 2022
@chzyer
Copy link
Owner

chzyer commented Apr 17, 2022

Thanks, guys!

@derickr
Copy link
Contributor

derickr commented Apr 17, 2022

I see you've merged this without my suggestions for os400 — could you please add that too? I can make a PR if that's helpful.

@chzyer
Copy link
Owner

chzyer commented Apr 17, 2022

@derickr oops, appreciate your help making a PR.

derickr added a commit to derickr/chzyer-readline that referenced this pull request Apr 18, 2022
@derickr derickr mentioned this pull request Apr 18, 2022
@derickr
Copy link
Contributor

derickr commented Apr 18, 2022

@chzyer Done: #201

chzyer pushed a commit that referenced this pull request Apr 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants