Hi Remi,

It's a fair argument. However the "bad code" in the end is not generated by 
gccxml, but genreflex. And that's very much part of ROOT.

But I agree that most people don't use Reflex on MacOS.

           Attila

On Nov 1, 2013, at 1:24 PM, Remi Mommsen <remigius.momm...@cern.ch> wrote:

> Hi Attila,
> 
> On Nov 1, 2013, at 11:03 AM, Attila Krasznahorkay 
> <attila.krasznahor...@cern.ch> wrote:
> 
>> Hi Remi,
>> 
>> Unfortunately things with ROOT are worse than this. :-(
>> 
>> I very strongly propose that the Fink compilation of ROOT goes back to using 
>> gcc48 for the compilation for now. GCCXML right now can't work with the 
>> Xcode version of gcc at all. It still works fine with a hand-installed GCC 
>> version, so the one installed by Fink will be fine. (As I think it already 
>> explicitly uses the Fink-installed gcc48.) The problem is that the code that 
>> genreflex produces using gccxml can't be compiled using the system-default 
>> clang compiler. Because the generated code depends on too deep details of 
>> how STL is implemented in GCC.
>> 
>> So for now the only way I could successfully use Reflex dictionaries on 
>> Mavericks was to compile both ROOT (the v5-34-00-patches branch) and GCCXML 
>> against a hand-installed GCC 4.8, and compile all my ROOT code with that 
>> compiler.
>> 
>> The GCCXML maintainer will be back next week, I hope he'll be able to do 
>> something about this issue. But it may not be a quick fix. Hence my proposal 
>> to build ROOT using the Fink-installed GCC for now. (In which case v5-34-10 
>> could be used already I think...)
> 
> This is clearly a problem with GCCXML on 10.9. In addition, using GCCXML with 
> ROOT is not commonly done. Therefore, I don't see why I should force all 
> users using ROOT from fink to use a not-supported configuration (10.[89] + 
> gcc).
> 
> Remi
> 

-----------------------------------------------------
 Attila Krasznahorkay  attila.krasznahor...@cern.ch
 CERN PH-ADP-OS           Phone: +41-22-76 71180
 The ATLAS Collaboration     Room: 40/3-D06
-----------------------------------------------------







------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to