摘要: GCC使用在使用GCC编译程序时,编译过程可以被细分为四个阶段:预处理(Pre-Processing) 编译(Compiling)汇编(Assembling) 链接(Linking)。例如:#include <stdio.h>int main(void){printf ("Hello world, Linux programming!\n"); return 0;} 然后执行下面的命令编译和运行这段程序:# gcc hello.c -o hello#./helloHello world, Linux programming! GCC需要调用预处理程序cpp,由它 阅读全文
posted @ 2011-10-04 20:42 刺客XIII 阅读(2040) 评论(0) 推荐(1) 编辑