Compiling root libraries


I would like to slightly change the behaviour of a class whose name is shared by other several libraries. I would like to add just more output, indeed.
Could I load it at runtime (using for instance gSystem->Load()) and replace the link to the old library with the new one, just * using the same name * of the old version? This could in principle avoid to re-build the code, and to port it even without re-compiling the sources for each host system.
I don’t know if ROOT support this kind of solution…



C++ is not this dynamic. You will have to make the change and then relink your application.