agnivesh
Member level 2
I want to know, how C compilers work ?
a) what compiler does to a 'C' source code, step by step ?
b) what sort of information the files with .obj, .dll , .h extensions contain ?
c) how we can use assembly code in C and C code in assembly (can we) ?
d) do header files (*.h) contain only declarations of functions and variables or their definitions as well ?
e)By looking at our source code, how compiler finds and links the required code for the used functions, from the library files into our source files or does it link all the library containing all the code for other non-required functions as well, even if we need code for only one funcion from that library ?
Please, suggest me any online resources to understand C compiler working.
thanks in advance
agnivesh
a) what compiler does to a 'C' source code, step by step ?
b) what sort of information the files with .obj, .dll , .h extensions contain ?
c) how we can use assembly code in C and C code in assembly (can we) ?
d) do header files (*.h) contain only declarations of functions and variables or their definitions as well ?
e)By looking at our source code, how compiler finds and links the required code for the used functions, from the library files into our source files or does it link all the library containing all the code for other non-required functions as well, even if we need code for only one funcion from that library ?
Please, suggest me any online resources to understand C compiler working.
thanks in advance
agnivesh