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

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

テスト概要

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

実行環境

GCC-8.2.0
GNU C Library 2.28
GNU Binutils 2.31.1


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

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

動作テスト


実行結果
$ gcc --help=C C言語でサポートされているオプションを表示(小文字「c」も可) The following options are supported by the language C: --all-warnings Same as -Wall. Use the latter option instead. --ansi Same as -ansi. Use the latter option instead. --assert Same as -A. Use the latter option instead. --assert= Same as -A. Use the latter option instead. --comments Same as -C. Use the latter option instead. --comments-in-macros Same as -CC. Use the latter option instead. -std=iso9899:2018 Conform to the ISO 2017 C standard (expected to be published in 2018). Same as -std=c17. -traditional-cpp Enable traditional preprocessing. -trigraphs Support ISO C trigraphs. -undef Do not predefine system-specific and GCC-specific macros. -v Enable verbose output. -w Suppress warnings. $