This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to share global data in a share library?


On Tuesday, December 16, 2003, at 05:20 PM, Song Wang wrote:
My question is:  is there any way to share the global
data within a shared library, i.e, both code and data can
be shared?

This is the wrong list to ask how to program type questions.


The answer is no, it doesn't work that way in C nor C++. Ask google about persistence and code examples, I'm sure that you'll find some.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]