单项选择题

为了能调试hello.c程序需要在编译程序时将调试信息加入到可执行文件中,则执行()

A.gcc–o hello hello.c
B.gcc–g hello.c–o hello
C.gcc hello.c
D.gcc–b hello.c–o hello