⟩ Assemble code of the program can be displayed in GDB by the command a) disassemble b) assemble c) assembly d) none of the mentioned
a) disassemble
a) disassemble
The command line options of gcc can also be read from a file with a) @ b) $ c) # d) none of the mentioned
The gcc option -Wunused warns when a _____ variable is unused aside from its declaration. a) variable b) function c) macro d) none of the mentioned
The command "gcc -save-temps google.c" will generate a) google.i b) google.s c) google.o d) all of the mentioned
Which one of the following is not true? a) source codes can not be compiled with static libraries in gcc b) -O is used for optimization in gcc c) both (a) and (b) d) none of the mentioned
Which gcc option reports the cpu time taken by each sub-process in the compilation sequence? a) -time b) -cpu c) -process d) none of the mentioned
Which gcc option undefined a pre-processor macro? a) -U b) -u c) -undefine d) none of the mentioned
The -Wextra option of gcc a) is same as -w option b) does not exist c) enables extra warning messages d) none of the mentioned
Which option of gcc makes the compiler print out each function name as it is compiled, and print some statistics about each pass when it finishes? a) -p b) -P c) -q d) -Q
The command "cpp google.c > google.i" will a) create the expanded source code file google.i for the source code file google.c b) append the content of the google.c into google.i c) give an error d) none of the mentioned
Which one of the following command creates the executable file a.out? a) gcc -o google.c b) gcc google.c c) gcc -o a.out d) gcc a.out