Next: Version numbers, Up: Troubleshooting [Contents][Index]
To obtain a brief reminder of various command-line options, GCC provides a help option which displays a summary of the top-level GCC command-line options:
$ gcc --help
To display a complete list of options for gcc
and its associated
programs, such as the GNU Linker and GNU Assembler, use the help option
above with the verbose (-v) option:
$ gcc -v --help
The complete list of options produced by this command is extremely
long—you may wish to page through it using the more
command, or
redirect the output to a file for reference:
$ gcc -v --help 2>&1 | more