From 0f38bcd4f2a7fcfea93111952171ff5669b87edb Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sun, 26 Feb 2017 02:52:16 +0900 Subject: [PATCH] Updated Cross Compiling (markdown) --- Cross-Compiling.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Cross-Compiling.md b/Cross-Compiling.md index 5820a86..d2db00c 100644 --- a/Cross-Compiling.md +++ b/Cross-Compiling.md @@ -1,14 +1,20 @@ You may not have a Windows machine handy. -But thanks to xgo, it is possible to cross-compile games made with ebiten! +But thanks to xgo, it is possible to cross-compile games made with Ebiten! You will need xgo: -```go get github.com/karalabe/xgo``` + +``` +go get github.com/karalabe/xgo +``` You will also need Docker: https://www.docker.com/products/overview 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``` +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. \ No newline at end of file