GCC的编译流程详解_hello times:0 world times:0 hello times:1 hello ti-CSDN博客

网站介绍:文章浏览阅读633次。http://blog.chinaunix.net/u/21948/showart_161614.html在进行openvpn移植时,因为需要lzo库和openssl库的支持,而我又不想生成共享库,所以采取了静态编译的方式。但是在编译链接时错把-static理解是编译的参数了,实际上是对于编译和链接的概念还有点模糊。网友孤云为我举了一个例子,如下: (1)A = gcc B _hello times:0 world times:0 hello times:1 hello times:2 #