Re: creating a root database dll

Rene Brun (Rene.Brun@cern.ch)
Fri, 21 Aug 1998 17:02:04 +0200


chris wrote:
>
> I apologize to anyone who may have felt I was rude in my last message.
> Rereading it, I understand how one may see the letter to be that way. i
> really like root, and so far I have had a lot of fun using it. I feel it
> is a really impressive enviroment. so, I will rephrase my question.
>
> I am happy with my progress thus far in the project. however, i am
> confused as to how i can "recompile" the interpreter into a dll. i was
> wondering if anyone has tried anything similar, and if they had any
> suggestions. i was reading one of the online papers on the root website,
> called "a note on root", and it said you can compile large macros into
> executables. i was wondering how to go about this, and if anyone has tried
> to create specialized (meaning not containing the full functionality of
> root, just a certain aspect, in my case file i/o) dynamically linked
> library. any ideas would be greatly appreciated.
>
> Again, i did not have any intention to sound aggressive or disrespectful in
> my last message, and I am not even very frustrated. Anyone who took the
> last message in that manner has my sincerest apologies.
>

For all systems, you can find one example of makefile illustrating
how to create a shared lib or (DLL) for all systems in
$ROOTSYS/test/Makefile.

In case of NT, Valery Fine invested a lot of his time to understand
how to build a DLL without modifying the class definition too much.
He proposed the clever introduction of the EXTERN (now R__EXTERN)
statement for the definition of the DLLIMPORT statement on NT.
He published a note on his work that you can find in the proceedings
of CHEP97.
I would suggest to Valery to have a copy of his paper also available
on the web.

Rene Brun