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] | |
Hi, Gianni Mariani wrote:
Hmm, yes, works for me in this sample. I will reevaluate our original problem and come back again, in case there are still problems. I have the impression, that there is simply something going wrong in our build-env.Joerg Budischewski wrote:Hi,
I have problems with static variables in shared libraries. Have a look at the source at the end of this mail. I build it with
g++ -ldl -o main main.cxx
gcc -shared -o libso.so so.cxx
try: g++ -shared -o libso.so so.cxx
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |