Skip to content

Commit

Permalink
Note about golang/go#24068
Browse files Browse the repository at this point in the history
  • Loading branch information
avivey committed Sep 9, 2019
1 parent 174b535 commit ecdc99c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions WindowsCrossCompiling.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ Note that the command above will silently rebuild most of standard library, and
GOOS=windows GOARCH=amd64 go install
```

Note also that `cgo` is disabled when cross-compiling, so any file that mentions `import "C"` will be silently ignored (See https://github.com/golang/go/issues/24068).


## Older Go version (<1.5)

I use linux/386, but, I suspect, this procedure will apply to other host platforms as well.
Expand Down

0 comments on commit ecdc99c

Please sign in to comment.