Re: Compile option of ROOT instant compiling

From: Axel Naumann <Axel.Naumann_at_cern.ch>
Date: Thu, 22 May 2008 16:03:58 +0200


Hi Margar, Yuji,

that's the right thing to do. I hope to add the new implementation of ACLiC this summer, i.e. after the next production release. It will allow to change the compiler flags directly.

Cheers, Axel.

On 2008-05-22 16:01, Margar Simonyan wrote:
> Hello Yuji
>
> I am not sure, but I use the lines below to change the compiler options.
>
> TString cmd = gSystem->GetMakeSharedLib();
> cmd.ReplaceAll("-W ","-W -Wno-unused-parameter ");
> gSystem->SetMakeSharedLib(cmd);
>
> Margar
>
> On Thu, May 22, 2008 at 3:48 PM, Yuji Tsuchimoto <nox_at_sea-mew.jp> wrote:

>> Dear all,
>>
>> I'm using the ROOT in physics analysis.
>> ROOT compile a macro before executing it when "+" is appended by filename.
>> For example,
>>  .x test.C+
>> .
>>
>> This is very convenient to speed up.
>> But I want to compile with debug information,
>> I mean I want to compile a macro with "-g" option.
>>
>> I tried to set "-g" in environment variables of CXXFLAGS, but it may be
>> ignored.
>>
>> Could you tell me how to set compile option for ROOT instant compiling with
>> "+" ?
>>
>> Best Regards, Yuji
>>
>>

>
>
>
Received on Thu May 22 2008 - 16:04:04 CEST

This archive was generated by hypermail 2.2.0 : Thu May 22 2008 - 17:50:02 CEST