gcc常用命令

常用选项 一个c文件要经过如下处理才能变成可执行文件 Step1:预编译 gcc -E -o hello.i hello.c Step2:编译 gcc -S -o hello.s hello.i Step3:汇编 gcc -c -o hello.o hello.s Step4:链接 gcc -o hello hello.o 如果要一步到位 gcc -o hello hello.c 下面
相关文章
相关标签/搜索