Updated Cross Compiling (markdown)

Splizard 2017-02-16 23:01:46 +13:00
parent 6e14b92c7b
commit 55db169784

@ -1,4 +1,4 @@
You may not have a Windows or Linux machine handy.
You may not have a Windows machine handy.
But thanks to xgo, it is possible to cross-compile games made with ebiten!
You will need xgo:
@ -11,7 +11,4 @@ Make sure docker is in your PATH.
Make sure your ebiten game is in your GOPATH and run this to cross-compile your game to windows:
```xgo --targets=windows/* /path/to/ebiten/game/in/gopath```
NOTE: make sure you have a couple of GB's space as xgo will download what it needs to cross-compile the game.
To cross compile for linux, run:
```xgo --targets=linux/* /path/to/ebiten/game/in/gopath```
NOTE: make sure you have a couple of GB's space as xgo will download what it needs to cross-compile the game.