This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
global data in shared libraries
- To: <gcc at gcc dot gnu dot org>
- Subject: global data in shared libraries
- From: "Roger Wells" <ROGER dot K dot WELLS at saic dot com>
- Date: Tue, 18 Sep 2001 08:11:47 -0400
- Organization: SAIC
Hi,
What is the procedure when linking a shared library to get a piece of data
(e.g. a handle to a hardware resource) to be shared by all processes that
link to the shared library?
Any help will be appreciated.
Roger Wells, P.E.
SAIC
221 Third St
Newport, RI 02840
401-847-4210 (voice)
401-849-1585 (fax)
roger@mtg.saic.com