Updating gcc mac
Some options control the preprocessor and others the compiler itself.
Yet other options control the assembler and linker; most of these are not documented here, since you rarely need to use any of them.
Many options have long names starting with -f or with -W---for example, -fmove-loop-invariants, -Wformat and so on.
Then the output consists of object files output by the assembler.
Other options are passed on to one stage of processing.
Most of the command line options that you can use with ), the explanation says so explicitly.
If the description for a particular option does not mention a source language, you can use that option with all supported languages.
The gcc program accepts options and file names as operands.
The "overall options" allow you to stop this process at an intermediate stage.
For example, the -c option says not to run the linker.
gcc [-c|-S|-E] [-std=standard] [-g] [-pg] [-Olevel] [-Wwarn...] [-pedantic] [-Idir...] [-Ldir...] [-Dmacro[=defn]...] [-Umacro] [-foption...] [-mmachine-option...] [-o outfile] [@file] infile...
Only the most useful options are listed here; see below for the remainder. When you invoke , it normally does preprocessing, compilation, assembly and linking.
Order does matter when you use several options of the same kind; for example, if you specify -L more than once, the directories are searched in the order specified.
Also, the placement of the -l option is significant.