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]

gcc and shared library


Greetings,
I am relatively new to Linux world and I need some 
information of Shared Libraries under Linux.
I have one program say test.c and a shared library
libfoo.so 
Questions are:
1. can I have extern variables in shared library?
2. can I have two shared libraries linked to a same
executable and function abc() has it's body in both
the shared libraries.Is this possible ?

Help on this will be highly appreciated.

-DJ

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/


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