An Introduction to GCC - Verbose compilation
www.linuxtopia.org › gccintro_75An Introduction to GCC - Verbose compilation <<< previous table of contents next >>> 9.3 Verbose compilation The -v option can also be used to display detailed information about the exact sequence of commands used to compile and link a program. Here is an example which shows the verbose compilation of the Hello World program:
GCC Command-Line Options
tigcc.ticalc.org/doc/comopts.htmlGCC normally generates special code to handle certain built-in functions more efficiently; for instance, ... '-fno-verbose-asm', the default, causes the extra information to be omitted and is useful when comparing two assembler files. -fvolatile.
g++(1): GNU project C/C++ compiler - Linux man page
https://linux.die.net/man/1/g++If you only want some of the stages of compilation, you can use -x (or filename suffixes) to tell gcc where to start, and one of the options -c, -S, or -E to say where gcc is to stop. Note that some combinations (for example, -x cpp-output -E) instruct gcc to do nothing at all. -c. Compile or assemble the source files, but do not link.