compling and linking of symlinked macro

From: Constantin Loizides <loizides_at_mit.edu>
Date: Fri, 23 Mar 2007 00:02:31 -0400


Hi,

has there been a change in the way, macros are compiled?

One of my very much preferred ways has been to write a macro that contains several functions. In order to easily access those functions from the cmd line I would symlink the file name with the function name, ln -s filename.C functionname.C

Then I could execute ala
root.exe -b -q functionname.C+\(arg1,arg2,arg3\)

It seems to me that now gSystem is clever(?) enough to resolve the symlink and produce "filename_C.so". However, ROOT then is not clever(?) enough to understand that it should first link filename_C.so and then look for the "functionname" function in that lib.

The only way I could get my previous way of working to work is to really copy filename.C to functionname.C This is however really impractical.

Any ideas what I can do?

Thanks,
Constantin

-- 
Tel: +1-617-8301823 (SkypeIn)
Skype: loizides
AOL: ConLoi / ICQ: 114824520
Received on Fri Mar 23 2007 - 05:03:24 CET

This archive was generated by hypermail 2.2.0 : Sun Mar 25 2007 - 17:50:01 CEST