Loose-Info.com
Last Update 2020/10/24
TOP - 各種テスト - gcc - --help - --help={クラス|[^]修飾子}[,…] - 言語名 - Go

--help=Go
指定されたクラスおよび修飾子に合致するコマンドラインオプションの説明を、標準出力へ出力
指定クラス(言語名) Go : Goでサポートされているオプションを表示

テスト概要

コマンド「gcc --help=Go」の実行

実行環境

GCC-8.2.0
GNU C Library 2.28
GNU Binutils 2.31.1


コード例・出力内容中の表記

・実行例中の太字表記部分は、コマンドなどの入力された文字列を示します。
・「」や「...」の着色省略表記は、 実際のソースコードや出力内容などを省略加工した部分を示します。

動作テスト


実行結果
$ gcc --help=Go Goでサポートされているオプションを表示(言語名は大文字小文字区別なし) The following options are supported by the language Go: -I <dir> Add <dir> to the end of the main include path. -L This option lacks documentation. -Wall Enable most warning messages. -fgo-c-header=<file> Write Go struct definitions to file as C code. -fgo-check-divide-overflow Add explicit checks for division overflow in INT_MIN / -1. -fgo-check-divide-zero Add explicit checks for division by zero. -fgo-optimize-<type> Turn on optimization passes in the frontend. -fgo-pkgpath=<string> Set Go package path. -fgo-prefix=<string> Set package-specific prefix for exported Go names. -fgo-relative-import-path=<path> Treat a relative import as relative to path. -frequire-return-statement Functions which return values must end with return statements. -o <file> Place output into <file>. $