自分の環境での作業手順なので最小手順としては抜けがあるかも。
- golangをインストールして実行できる状態まで設定する
-
Chocolatelyでmingwをインストールする
choco install mingw
-
mitchellh/goxをインストールする
go get github.com/mitchellh/gox
gox -build-toolchain
- コンパイルするコードのあるディレクトリで
gox
- 各環境向けのバイナリができる
Go to list of users who liked
More than 5 years have passed since last update.
自分の環境での作業手順なので最小手順としては抜けがあるかも。
choco install mingw
go get github.com/mitchellh/gox
gox -build-toolchain
gox
Register as a new user and use Qiita more conveniently
Go to list of users who liked