下列指令完成什么功能: gcc -o hello hello.o -m32
A. . 链接成可执行文件;
B. . 编译成.cpp可执行文件;
C. . 编译成.s的汇编代码;
D. .编译成.o目标代码;
查看答案
下列指令完成什么功能: gcc -x assembler -c hello.s -o hello.o -m32
A. . 预处理生成cpp预处理中间文件;
B. . 编译成.cpp可执行文件;
C. . 编译成.s的汇编代码;
D. .编译成.o目标代码;
下列指令完成什么功能: gcc -x cpp-output -S -o hello.s hello.cpp -m32
A. . 预处理生成cpp预处理中间文件;
B. . 编译成.cpp可执行文件;
C. . 编译成.s的汇编代码;
D. . 链接成可执行文件;
下列指令完成什么功能: gcc -E -o hello.cpp hello.c -m32
A. . 预处理生成cpp预处理中间文件;
B. . 编译成.cpp可执行文件;
C. . 编译成.s的汇编代码;
D. .编译成.o目标代码;
Linux下有三种目标文件格式,它们是()
A. 汇编文件格式
B. 共享目标文件格式
C. 可执行文件格式
D. 可重定位文件格式