Hi
I would like to compile my code but also passing some argval inside
doing
g++ -m64 -g -L ~/lib/ -lTopTreeAna42 -lTopTreeAnaContent42 -lMLP -lTreePlayer -I `root-config --incdir` `root-config --libs` SUSY.cc\(\--help)
But does not work… What I do wrong?
thanks
Alex
pcanal
2
Hi Alex,
I am not sure what you are trying to achieve, maybe you mean: g++ -m64 -g -L ~/lib/ -lTopTreeAna42 -lTopTreeAnaContent42 -lMLP -lTreePlayer -I `root-config --incdir` `root-config --libs` -DARG="--help" SUSY.cc
or maybe you mean something more dynamic:root.exe -b -l -q 'SUSY.cc+("--help")'
or maybe you simply mean: g++ -m64 -g -L ~/lib/ -lTopTreeAna42 -lTopTreeAnaContent42 -lMLP -lTreePlayer -I `root-config --incdir` `root-config --libs` SUSY.cc -o susy_exec
./susy_exec --help
Philippe.