Shared library and global variables

From: Nicolas St-Laurent <Nstlaurent_at_DGEQ.QC.CA>
Date: Tue, 15 Sep 1998 15:47:56 -0400

Hello,

              we got a lot of statics libraries and we're looking to convert them
in shared libraries. There's just got one big problem : the static librairies
we use defines lot of global variables (yes, I know it's awful but that's
life...). How the global variables are used by the shared libraries ? It's
there one variable for each program using the library or there's just one
variable for the library and all the programs used the same ?

( We've got DU 3.2g but I think it should be the same on all Unix systems.
Eventually, we should remove all global variables and got well written
functions in our libraries.)

                                               Thanks for the answers...

                                                           Nicolas St-Laurent
                                                           Quebec, Canada
                                                            Nstlaurent_at_DGEQ.QC.CA
Received on Tue Sep 15 1998 - 19:47:08 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT