dlsym() on C++ symbols
Munagala V. S. Ramanath
ram@netcom.com
Wed Jul 5 18:25:00 GMT 2000
Hi,
After some experimentation (gcc-2.95.2, sparc-sun-solaris2.7) it seems
that I need to supply the mangled name of symbols to dlsym(). This
presents a problem because I would have to manually create the mangled
name for each symbol I need from a dynamically loaded C++ library.
Is there an easier way to do this ? I looked in the GCC docs as well
as the dlopen/dlsym man pages but saw no discussion of this issue. Any
pointers would be much appreciated. Thanks.
Ram
More information about the Gcc-help
mailing list