GCC编译连接c++代码的四个阶段(Four stages of GCC compilation of C++ code)

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 an example for the stages of compiling a c++ executable.

 

posted @ 2015-05-22 15:01  Anor  阅读(221)  评论(0编辑  收藏  举报