This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc and shared library
- From: D Jemms <d_jemms at yahoo dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 3 Mar 2003 23:44:45 -0800 (PST)
- Subject: 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/