7.6.1.8 Miscellaneous

  • -v

    Verbose option. It prints (on standard error output) the commands executed to run the stages of compilation. Also, print the version number of the compiler driver program and the preprocessor and the compiler proper.

  • -ansi

    Support ANSI programs. Turns off certain features of GCC that are incompatible with ISO C90 (when compiling C code). For the C compiler, it disables recognition of C++ style // comments as well as the inline keyword. The -ansi option does not cause non-ISO programs to be rejected gratuitously. For that, -pedantic is required in addition to -ansi.