diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-05-26 11:27:48 +0200 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-05-26 11:33:38 +0200 |
commit | 03f31ff8f44541fff15c3ff04ac75cb8e0274b79 (patch) | |
tree | ced2e30b734c9ca22b5786ab3893b58905a4064a /README.md | |
parent | 0f52586a6208a66a8d5e4dd4c4e3a58cdff6b46f (diff) |
Fix Syncthing package retrieval for Windows
Note that cross compile for Windows required Go version 1.8 or higher.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -15,7 +15,7 @@ used to remotely cross build applications. ### Dependencies -- Install and setup [Go](https://golang.org/doc/install) version 1.7 or +- Install and setup [Go](https://golang.org/doc/install) version 1.8 or higher to compile this tool. @@ -35,6 +35,14 @@ And to install xds-agent in /usr/local/bin: make install ``` +> **NOTE**: To cross build for example for Windows, just execute: +```bash +export GOOS=windows +export GOARCH=amd64 +make all +make package +``` + ## How to run ## Configuration |