[Fedora-tools-list] Shared libraries: How to share global variables?
- To: fedora-tools-list@xxxxxxxxxx
- Subject: Shared libraries: How to share global variables?
- From: Naga Raju <raj1234@xxxxxxxxx>
- Date: Fri, 29 Oct 2004 21:25:34 +0530
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=cUQU5jjnYNyGIt006wQrKlXn6qNvAKJ6i4S+Dv1GDgA8YUbinoa+vdbIY2GtPhNmvfMoyDnFSg0YwX25voh7Wris75u1ZRVupOkWDdSF1tdeEMxtywVBxR17d7qkL25IUB9lnPNwgKYUvCVYGI+/o8adSXe+LQ+HIiec38+KeeY=
- Reply-to: Naga Raju <raj1234@xxxxxxxxx>
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 libsiso_dns.so.1.0 -lxyz2 abc.o
Regards,
Nagaraju
[GCC Help]
[Fedora Development]
[Fedora Announce]
[Fedora Legacy Announce]
[Home]
[Fedora Config]
[PAM]
[Red Hat 9 Bible]
[Red Hat 9]
[Big List of Linux Books]
[Gimp]
[Yosemite News]