This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Main in Lib


On Mon, 21 Apr 2003, John Love-Jensen wrote:

> libfoo.so is a shared object library.  
> libfoo.a is an archive library.  

What is need to create this two type of lib formats ?

How to differentiate DSO and SSO ? 
( .so = DSO and .a = SSO  Correct ? )

Objdump libfoo.so gave a start address. If it is ordinary program,
the start address refer to main function. In lib start add refer 
to what ?

what is the use of _fini ,  _init , fini_dummy etc ?

Thanks,
-- 
Bharathi S, IndLinuX Team,  (__)
DON Lab,      TeNeT Group,  oo )
IIT-Madras, Chennai-INDIA.  (_/\


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]