portability of shared libraries
Tue Apr 5 18:40:00 GMT 2005
Thanks for all the advice.
From what I understand RH8 is old. Maybe
almost no one uses it any more? I tend to keep
an old version around just so that I can compile things on it.
So I think the answer is that my shared library built on
FC3 should run on all "newer" versions of Linux and that if
I want to support older versions I can build another library
As for the g++ in the command line it was just to avoid having to
write -lstdc++ since I am linking c++ code. However it
gave me the thought that the stdc++ might get linked
before the -Xlinker -static took effect so I changed to
gcc ...... -shared -o nbmm.so -Xlinker -static .......... \
and it did change the size of the library, but it still crashed.
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.4.0 - Release Date: 2/22/05
More information about the Gcc-help