Hi,
You can always customize the way ACLiC compiles things by using the method
TSystem::GetMakeSharedLib and TSystem::SetMakeSharedLib.
For example:
TString cmd = gSystem->GetMakeSharedLib();
cmd.ReplaceAll("-O","-g");
gSystem->SetMakeSharedLib(cmd);
Cheers,
Philippe.
PS. If you elect to modify the $ROOTSYS/include/compiledata.h, you will
also need to recompile TSystem.o and relink libCore.so
-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Fons Rademakers
Sent: Tuesday, September 03, 2002 1:11 PM
To: Mike Kordosky
Cc: ROOTtalk Mailing List
Subject: Re: [ROOT] aclic with debugging info
For the time being you can edit $ROOTSYS/include/compiledata.h and add
-g to the compile and link statements.
Cheers, Fons.
On Tue, 2002-09-03 at 18:59, Mike Kordosky wrote:
> Hi,
>
> I have a TTree::MakeClass() customized class and I find it has a segv.
> So, I need gdb. The class is compiled with the command:
>
> gROOT->LoadMacro("mikeclass.C+");
>
> Is there a way to get aclic to insert debugging symbols? (ie, like
> passing the -g flag to g++/gcc).
>
> Thanks,
>
> Mike Kordosky
>
> --
> Graduate Research Assistant // High Energy Physics Lab
> kordosky@hep.utexas.edu // University of Texas at Austin
> kordosky@fnal.gov //
> ph: (512) 471-8426 (RLM Lab, Office)
> (512) 475-8673 (ENS Lab)
--
Org: CERN, European Laboratory for Particle Physics.
Mail: 1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248
WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7679480
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:06 MET