Created
August 21, 2016 14:08
-
-
Save akilab/6852560ba18e7dba9edcb0f22e1c747b to your computer and use it in GitHub Desktop.
Goの実行ファイルのデバッグ情報を削除するためのオプション
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # go build -ldflags "-S" -o example.exe | |
| # 最適化無効 | |
| # go build -gcflags "-N -l" -o example.exe |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment