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

undefined: syscall.SIGTSTP on windows #32181

Closed
timestee opened this issue May 22, 2019 · 1 comment
Closed

undefined: syscall.SIGTSTP on windows #32181

timestee opened this issue May 22, 2019 · 1 comment

Comments

@timestee
Copy link

go version:

go version go1.12 darwin/amd64

go ver:

GOARCH="amd64"
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"

when cross-compilation for windows on mac osx under go1.12

GOOS=windows GOARCH=amd64 go build -ldflags="-s -w"

Failed with "undefined: syscall.SIGTSTP",

@ianlancetaylor
Copy link
Contributor

The syscall package is intentionally system dependent. There is nothing like the SIGTSTP signal on Windows, so the syscall package does not define it. Closing because this is working as expected.

@golang golang locked and limited conversation to collaborators May 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants