Last Update 2020/10/24
--help=common
指定されたクラスおよび修飾子に合致するコマンドラインオプションの説明を、標準出力へ出力
指定クラス common : すべての言語に共通のオプションを表示
指定クラス common : すべての言語に共通のオプションを表示
テスト概要
コマンド「gcc --help=common」の実行
実行環境
GCC-8.2.0
GNU C Library 2.28
GNU Binutils 2.31.1
GNU C Library 2.28
GNU Binutils 2.31.1
コード例・出力内容中の表記
・実行例中の太字表記部分は、コマンドなどの入力された文字列を示します。
・「︙」や「...」の着色省略表記は、 実際のソースコードや出力内容などを省略加工した部分を示します。
・「︙」や「...」の着色省略表記は、 実際のソースコードや出力内容などを省略加工した部分を示します。
実行結果
$ gcc --help=common すべての言語に共通のオプションを表示
The following options are language-independent:
--debug Same as -g. Use the latter option instead.
--dump Same as -d. Use the latter option instead.
--dump= Same as -d. Use the latter option instead.
--dumpbase Same as -dumpbase. Use the latter option instead.
--dumpdir Same as -dumpdir. Use the latter option instead.
--extra-warnings Same as -Wextra. Use the latter option instead.
︙
-pedantic Same as -Wpedantic. Use the latter option instead.
-pedantic-errors Like -pedantic but issue them as errors.
-quiet Do not display functions compiled or elapsed time.
-v Enable verbose output.
-version Display the compiler's version.
-w Suppress warnings.
$