add warning about slow builds

Alberto Donizetti 2017-01-11 14:23:40 +01:00
parent 0d687276e0
commit bc7e7aac62

@ -20,8 +20,13 @@ func main() {
$ GOOS=windows GOARCH=386 go build -o hello.exe hello.go
```
You can now run `hello.exe` on a Windows machine near you.
You can now run `hello.exe` on a Windows machine near you.
Note that the command above will silently rebuild most of standard library, and for this reason will be quite slow. To speed-up the process, you can install all the windows-amd64 standard packages on your system with
```
GOOS=windows GOARCH=amd64 go install
```
## Older Go version (<1.5)