GCC Compiler Question:
Download Questions PDF

The -fPIC option of gcc:
a) generates the position independent code of shared libraries
b) opens the source file in readonly mode
c) both (a) and (b)
d) none of the mentioned

Linux GCC Compiler Interview Question
Linux GCC Compiler Interview Question

Answer:

a) generates the position independent code of shared libraries

Download Linux GCC Compiler Interview Questions And Answers PDF

Previous QuestionNext Question
The -H option of gcc:
a) prints the name of each header file used
b) is used to include header file
c) ignores the header file which are not required by source code
d) none of the mentioned
What is the job of -Werror option in gcc?
a) it avoids all the errors present in the source code
b) it makes all warnings into errors
c) it stores all the errors of source code into a seperate file
d) none of the mentioned