Re: Recompiling a compiled script ?

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Feb 28 2000 - 08:54:14 MET


Hi David,
In version 2.23 a macro can be compiled/loaded only once via the script
compiler. This limitation has been recently removed by Philippe Canal
for all compilers/OS at the exception of the KAI compiler (still under
investigation).
This new facility will be part of teh next version.

Rene Brun



David d'Enterria wrote:
> 
> Hello ROOT team,
> 
> First, let me congratule you for the script compiler facility, which
> allows the user to (very) easily convert a simple macro in a (much)
> faster compiled script ...
> Now, I have a small problem and did not find the solution in the web
> page:
> I do:
> > .L Event_simulation.C++;
> > Event_simulation t;
> > t.Loop();
> 
> and everything works fine.
> Now suppose I modify the original Event_simulation.C script. If I want
> to recompile it and reload it (again via .L Event_simulation.C++;) I got
> the message:
> 
> Modified script has already been compiled and loaded
> Shared library can not be updated !
> 
> And of course trying to unload it via .U Event_simulation.C(++) does not
> work ...
> 
> So my question is how does one recompile a script without needing to
> quit the session ...
> 
> Thanks in advance,
> 
> David d'Enterria
> ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬
> Groupe Photons Subatech
> http://www-subatech.in2p3.fr/~photons/subatech/
> mailto:enterria@in2p3.fr      phone: +33.2.51.85.85.60
> ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬
> Grup Física Radiacions UAB    http://cc.uab.es/~iffr2/
> mailto:d.enterria@cc.uab.es   phone: +3493.581.13.64
> 
> "In science, there is only physics; all the rest is stamp collecting",
> Ernest Rutherford



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:20 MET