Re: creating a root database dll

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Aug 21 1998 - 17:02:04 MEST


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



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:36 MET