CINT script convert to executable file

I have script in CINT MyScript.C. Can I make automatic conversions to executable file? Automatically add header files etc.

Hi,

no this is not possible.
If you encounter difficulties in picking the correct headers/compiler flags let us know.

Cheers,
Danilo

If I may add something, consider moving to Root6 and cling for an even more satisfactory experience.

Hi,

If you goals is to have something that you can ‘execute’ directly from the shell prompt, you do not need to produce an executable, you can simply use the following syntax:

root.exe -b -l -q MyScript.CIf you script is a named macro (contained a function name MyScript) you can even pass parameters:

Cheers,
Philippe.