RE: [ROOT] ACLiC problem

From: Philippe Canal (pcanal@fnal.gov)
Date: Thu Jan 24 2002 - 14:40:42 MET


Hi Jacek,

The only way (but you probably don't want to hear it either :) )
is to rename you other file into "myscript.hxx". i.e. use the same
name.

Cheers,
Philippe.

-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Jacek M. Holeczek
Sent: Tuesday, January 22, 2002 1:58 AM
To: RootTalk
Subject: [ROOT] ACLiC problem


Hi,
I have just met a small problem ...
I have a "script" which I always let ACLiC precompile (using
".L myscript.cxx++"). This script contains '#include "mysource.hxx"'. The
"mysource.hxx" file contains a couple of nice functions (mostly
inlined). The problem is that ACLiC "links" only what it finds in the
"myscript.cxx", while I also need to get interactive access to functions
from "mysource.hxx". I have tried to put "#pragma link C++ defined_in
mysource.hxx" in the "myscript.cxx", but it didn't help.
Any solutions are welcome (except these that suggest creating a separate
additional shared library from "mysource.hxx").
Thanks in advance,
Best regards,
Jacek.



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:39 MET