logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

gox - simple cross compilation tool for Go

Authors

       gox  is  written by Mitchell Hashimoto <mitchell.hashimoto@gmail.com>.  This manpage is written by Daniel
       Stender <debian@danielstender.com>.

                                                                                                          GOX(1)

Description

       Gox  is  a  cross  compiling  build  tool  for Go which makes it possible to produce binaries for foreign
       platforms  without  having  to  install  Go  on  the  targeted  system.  Several  operating  systems  and
       architectures are supported, while parallel building on multiple cores is possible.

       Gox  supports  several  target  operating systems and architectures, as they are supported by the current
       version of the Go compiler.  Currently, choices for (-os) are: darwin (Mac OS 10.7 and  above),  windows,
       linux,  freebsd,  openbsd,  netbsd,  and plan9.  Choices for (-arch) are: amd64 (64-bit X86), 386 (32-bit
       x86), arm (32-bit ARM), and arm64 (64-bit ARM).  If no options are given, gox builds all available  pairs
       (-osarch) in parallel on all available cores.

       Note: for the use of gox the environment variable $GOPATH must be set correctly to /usr/share/gocode. See
       $gohelpgopath for information on this issue.

Name

gox - simple cross compilation tool for Go

Options

       Please run gox-h for a complete list of options and additional information.

See Also

go(1)

Usage Example

       $ gox -osarch="freebsd/386" github.com/foo/bar

See Also