On Wed, 28 May 2003, Robert Feuerbach wrote: Hi Rob, thanks a lot for your advice. I tried gSystem->GetMakeSharedLib() to see current compilation environment, then I modified it with gSystem->SetMakeSharedLib(...string of options ...) And now I can rech compilation end. Thanks again for such "an adventure" Paolo Adragna > > Hi Paolo, > > Though it is something of a cheat, you should be able to use the > > gSystem->GetIncludePath and > gSystem->SetIncludePath > > to add additional flags onto the compilation stage. Or, if you > are more adventureous, you can use the GetMakeSharedLib and the > corresponding SetMakeSharedLib methods to directly set the > commands. > > Recent version of ROOT also have GetFlagsDebug and GetFlagsOpt > (along with matching set's), but I don't know off-hand how to > specify which modes for ACLiC to use. > > Good luck, > Rob > > On Wed, 28 May 2003, Paolo ADRAGNA wrote: > > > Date: Wed, 28 May 2003 20:20:49 +0200 (CEST) > > From: Paolo ADRAGNA <paolo.adragna@pi.infn.it> > > To: roottalk@pcroot.cern.ch > > Subject: [ROOT] ACLiC options > > > > Hi everyone, > > > > I'm using STL vector in some classes within my program. > > While using ACLiC to create shared library with gcc 2.95.2 I get errors > > like these: > > > > /usr/local/gcc-alt-2.95.2/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/../../../../inclu > > de/g++-3/stl_construct.h:61: > > template instantiation depth exceeds maximum of 17 > > /usr/local/gcc-alt-2.95.2/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/../../../../inclu > > de/g++-3/stl_construct.h:61: > > (use -ftemplate-depth-NN to increase the maximum) > > > > How can tell to ACLiC to pass -ftemplate-depth-NN during compilation with > > g++? > > > > Please, someone who is awake is whatever part of the world (I am in > > Italy...) could reply to me as soon as possible? > > > > Thanks a lot, > > > > Paolo Adragna > > > > > >
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:12 MET