G++ compile and link options


naive question perhaps, are there separate lists of compile and link options for g++, I mean a list that shows which options are for compiling and which are for linking. gcc manual says these are the link options


and the options other than these are compile options? I am confused while reading the Definite Guide to GCC.

Best Solution

There is a grouped list of all options. With overall options such as -c and -o and specific c++ options.