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]

dynamically loading shared objects


-----BEGIN PGP SIGNED MESSAGE-----

Hi everybody,

I have experimented with dlopen() and friends to load a shared object
from disk and use it, rather than to link the shared library into my
program. I need this for a project that should support user-modules
for extension purposes.

So far I was pretty successful. There's just one thing I'd like to
know: When I store an object in a shared object that derives from an
object with pure virtual member functions, I get an unresolved symbol
error for "___pure_virtual" after the dlopen().

Is there any chance to resolve this? Or is this a limitation I have to
live with?

	-peter

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: latin1

iQCVAwUBNbNFwQ9HL1s0103BAQGUKwP+MikAUdhGBc4bbhizJvWV7Nn6vwheD1YV
B8iaJmH1OjJoM/tmBjgP59fC+bBUfEOIOJxcU08GRo0mOlt2VG8V4DJOfPmWZ1ay
XCRHBdQTRAayYDF8Vb62TEN0405xD2rnxdn8G7EO/Zx8KesMJI0fVrFsut1OxzWw
hSLN+8blvcs=
=EO1Q
-----END PGP SIGNATURE-----


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