From mboxrd@z Thu Jan 1 00:00:00 1970 From: Naga Raju Subject: Shared libraries: How to share global variaables? Date: Sat, 30 Oct 2004 10:51:28 +0530 Sender: linux-gcc-owner@vger.kernel.org Message-ID: References: Reply-To: Naga Raju Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-gcc@vger.kernel.org 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.