单选题:h0092. 若基于Linux操作系统所开发的ARM应用程序源文件名为test.c,那么要生成该程序代码的调试信息,编译时使用的GCC命令正确
若基于Linux操作系统所开发的ARM应用程序源文件名为test.c,那么要生成该程序代码的调试信息,编译时使用的GCC命令正确的是?
A.arm-linux-gcc -c -o test.o test.c
B.arm-linux-gcc -S -o test.o test.c
C.arm-linux-gcc -g -o test test.c
D.arm-linux-gcc -o test test.c
答案:C
A.arm-linux-gcc -c -o test.o test.c
B.arm-linux-gcc -S -o test.o test.c
C.arm-linux-gcc -g -o test test.c
D.arm-linux-gcc -o test test.c
答案:C