Hi
Compiling our software with v6 seems to work fine, except when trying to generate the .rootmap files.
I saw in the v6 release notes that rlibmap no longer exists, and that rootcling should be used.
Could you please give me an example of use, because apparently the command-line options aren’t
at all the same, and I can’t work out what to do.
to make the rootmap for libtoto.so. What is the equivalent command using rootcling?
If the solution is not trivial, we could always disable the rootmap generation for v6,
it is not totally indispensable (but useful!)
the solution is really simple.
just use the -rml and -rmf switches to specify the librariy(ies) and the name of the rootmapfile.
For example, starting from the line you use in the previous post:
correct. Note that this is the old command you used for generating the dictionaries. Now it has to be “refurbished” with the information for the rootmap.
The -f option updates dictToto.cxx. When I run make next time, dictToto.cxx will be compiled again. If I ignore -f, rootcling complains that dictToto.cxx exists. How can I resolve this annoyance?
correct. I think that the solution lies in your build configuration. Rootcling is a no brainer: it creates a dictionary and, if told to do so, it overwrites the existing one.
If compilation time is an issue, you could resort to ccache (an external tool, nothing to do with root).