System Grab Bag

View all TLDR pages from common (or from all pages)

gox

A tool for cross-compiling Go programs. More information: https://github.com/mitchellh/gox.
  • Compile Go program in the current directory for all operating systems and architecture combinations:
    gox
  • Download and compile a Go program from a remote URL:
    gox {{url_1}} {{url_2}}
  • Compile current directory for a particular operating system:
    gox -os="{{os}}"
  • Compile current directory for a single operating system and architecture combination:
    gox -osarch="{{os}}/{{arch}}"

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.