Is it possible to use RTTI in a dynamic library ?

Nathan Sidwell nathan@codesourcery.com
Mon Nov 17 16:26:00 GMT 2003


JOLY Loic wrote:
> The problem is under a Linux platform with gcc-3.2.2.
> We've got an header containing the following (simplified):

> The .so file is loaded in a dynamic way: dlopen, dlsym, dlclose 
> (LoadLibrary, GetProcAddress) and returns pointers to A objects.
> 

> Is there any way to make to make it work ? If we put everything directly 
> in the program (no .SO file) it works as intended.
http://gcc.gnu.org/faq.html#dso

nathan
-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
          The voices in my head said this was stupid too
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk




More information about the Gcc-help mailing list