Re: [ROOT] Re: Compiling root on MacOS X 10.2 (jaguar)

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Thu Sep 26 2002 - 16:12:26 MEST


Hi Christian,

 good idea.

Masa, what do you think?

-- Fons


On Thu, 2002-09-26 at 15:19, Christian Holm Christensen wrote:
> Hi Fons et al,
> 
> Fons Rademakers <Fons.Rademakers@cern.ch> wrote concerning
> Re: [ROOT] Re: Compiling root on MacOS X 10.2 (jaguar) [25 Sep 2002 19:31:43 +0200]
> ----------------------------------------------------------------------
> > The change in cint/Module.mk is not correct for 2.x gcc. In principle
> > the system should detect that it has gcc 3 available and then replace
> > libstrm with gcc3strm.
> 
> Wouldn't it  be easier if there was a file called something like
> `cint/src/stream.cxx' that contained something like 
> 
>   #ifdef __GNUC__ 
>   #  if __GNUC__ == 3 
>   #    include "gcc3stream.cxx" 
>   #  else 
>   #    include "gcc2stream.cxx" 
>   #  endif
>   #elsif __ICC 
>   #  include "iccstream.cxx" 
>   ...
>   #else 
>   #  include "fakestream.cxx" 
>   #endif 
> 
> In that way, the build system needn't do that check and can just
> always compile the file `cint/src/stream.cxx'.  Ofcourse that would
> require that Masa changes this in upstream CINT too. 
> 
> Yours, 
> 
>  ____ |  Christian Holm Christensen 
>   |_| |	 -------------------------------------------------------------
>     | |	 Address: Sankt Hansgade 23, 1. th.  Phone:  (+45) 35 35 96 91
>      _|	          DK-2200 Copenhagen N       Cell:   (+45) 24 61 85 91
>     _|	          Denmark                    Office: (+45) 353  25 305
>  ____|	 Email:   cholm@nbi.dk               Web:    www.nbi.dk/~cholm
>  | |
-- 
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:11 MET