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 > > -- /*************************************************** * Robert Feuerbach feuerbac@jlab.org * * Jefferson Lab CEBAF Center A120 * * 12000 Jefferson Avenue Office: (757) 269-7254 * * Mail Stop 12H Page: 584-7254 * * Newport News, VA 23606 Fax: (757) 249-1965 * ***************************************************/
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:12 MET