All of lore.kernel.org
 help / color / mirror / Atom feed
From: Naga Raju <raj1234@gmail.com>
To: linux-gcc@vger.kernel.org
Subject: Shared libraries: How to share global variaables?
Date: Sat, 30 Oct 2004 10:51:28 +0530	[thread overview]
Message-ID: <e9ddb88e04102922215362c31b@mail.gmail.com> (raw)
In-Reply-To: <e9ddb88e04102922207ce4eb04@mail.gmail.com>

Is it possible to share global variables such that all applications
which use shared libraries can see the changes made to the global
variables by the other applications.

I use gcc and compiled
      gcc -shared -Wl,-soname,xyz.so.1 -o libxyz.so.1.0 -lxyz2  abc.o

Regards,
Nagaraju.

       reply	other threads:[~2004-10-30  5:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <S263586AbUJ3FQs/20041030051648Z+543@vger.kernel.org>
     [not found] ` <e9ddb88e04102922207ce4eb04@mail.gmail.com>
2004-10-30  5:21   ` Naga Raju [this message]
2004-10-30 12:50     ` Shared libraries: How to share global variaables? Robin Doer
2004-10-30 13:13       ` Naga Raju
2004-10-30 14:45       ` Jan-Benedict Glaw

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e9ddb88e04102922215362c31b@mail.gmail.com \
    --to=raj1234@gmail.com \
    --cc=linux-gcc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.