Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




9.1 Help for command-line options

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

  Published under the terms of the GNU General Public License Design by Interspire