There are four stages for GCC to compile c/c++ applications: Preprocessing, Compilation proper, Assembly, Linking.
The following table illustrates input, output, gcc options in the foure stages.
Here is a example for the stages of compiling a c++ application.
时间: 2025-01-17 00:24:01