首页 热点资讯 义务教育 高等教育 出国留学 考研考公
您的当前位置:首页正文

C语言编译过程

来源:化拓教育网

预处理(Pre-Processing)

hello.c -> hello.i

gcc -E hello.c -o hello.i

编译(Compiling)

hello.i -> hello.s

gcc -S hello.i -o hello.s

汇编(Assembling)

hello.s -> hello.o

gcc -c hello.s -o hello.o

链接(Linking)

hello.o -> hello

gcc hello.o -o hello

显示全文