search
LoginSignup
66

More than 5 years have passed since last update.

posted at

updated at

Organization

Go言語のクロスコンパイル設定値 $GOOS, $GOARCH 一覧リスト

忘れやすいのでメモ。最新情報は公式ドキュメント Optional environment variables を。

$GOOS $GOARCH メモ
darwin 386 Mac OS X 10.6~
darwin amd64 Mac OS X 10.6~
freebsd 386
freebsd amd64
freebsd arm
linux 386
linux amd64
linux arm
netbsd 386
netbsd amd64
netbsd arm
openbsd 386
openbsd amd64
plan9 386
plan9 amd64
windows 386
windows amd64
$GOARCH メモ
amd64 64-bit x86
386 32-bit x86
arm 32-bit ARM

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
What you can do with signing up
66