First page Back Continue Last page Overview Graphics
Cons
STAR uses ‘cons’ to compile, link, and make files
- You should create a sub-directory called ‘StRoot’ in your primary work area
- Create a sub-directory called ‘HelloWorld’ under ‘StRoot’
- Put ‘HelloWorld.cxx’ and ‘HelloWorld.h’ into ‘StRoot/HelloWorld/’
- Now type ‘cons’ from your primary directory and your files will be automatically compiled and linked
- No Make files! Somebody else does all that work for you …
- This works even if your files refer to other STAR or ROOT software
You can change the version of root, the compilers, and cons
- The command ‘starpro’ issued at the command line will give you the production version of all STAR software
- Similarly, ‘starold’, ‘starnew’, and ‘stardev’ give the newest stable version of the software or the developmental version of the software.
- A specific version of older star software can be achieved with the ‘starver’ command (ie. ‘starver SL06e’ )