How does compiler use lib file ?

Posted by Xinus on Stack Overflow See other posts from Stack Overflow or by Xinus
Published on 2010-04-03T05:31:37Z Indexed on 2010/04/03 5:43 UTC
Read the original article Hit count: 220

Filed under:
|
|

I am curious about how c/c++ compiler analyse lib files ? I mean say I create a library containing some classes, I am using that library in my main program. How does compiler know what class names are there in that library. Of course that information is present in binary format, I want to use that functionality in my program, to be specific I have a binary lib file and I want to know all classes and properties/functions present in that lib file.

Is it possible ? If compiler can do that why can't some library ?

thanks for any clue

© Stack Overflow or respective owner

Related posts about c

    Related posts about c++