ansigo

Simple ANSi to PNG converter written in pure Go
Log | Files | Refs | README | LICENSE

commit 326d635f0f0d313034d781b01461235c09ada273
parent 9ab5262d4929bd3fffc4616df32e0ac52f80fa8f
Author: Frederic Cambus <fcambus@users.sourceforge.net>
Date:   Mon, 29 Jul 2013 15:46:04 +0200

Updating documentation : adding cross compilation informations

Diffstat:
MREADME.md | 13+++++++++++++
1 file changed, 13 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -24,6 +24,19 @@ Build and install with the `go` tool : Alternatively, you can download pre-built binaries (32-bit or 64-bit), check the directory corresponding to your operating system. Currently, only Windows binaries are available. + +## Cross-compiling AnsiGo binaries for Windows + +Building Go for the required platform : + + cd /usr/local/go/ + CGO_ENABLED=0 GOOS=linux GOARCH=amd64 ./make.bash + CGO_ENABLED=0 GOOS=windows GOARCH=amd64 ./make.bash + +Building Windows binaries : + + CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o windows/amd64/ansigo.exe ansigo + CGO_ENABLED=0 GOOS=windows GOARCH=386 go build -o windows/i386/ansigo.exe ansigo ## License