[ROOT] Re: stream library

From: Masaharu Goto (MXJ02154@nifty.ne.jp)
Date: Mon Oct 28 2002 - 03:36:37 MET


Hello Christian and Fons,

This can be a good idea. I'll add src/allstrm.cxx which
implements this concept. This code is experimental.
Please try if this really works. I plan to use current
scheme for pure cint distribution. For ROOT, switching
everything to allstrm.cxx will be good.

Thank you
Masaharu Goto


$BAw?.<T(B: "Fons Rademakers" <Fons.Rademakers@cern.ch>
$B08@h(B: "Christian Holm" <cholm@nbi.dk>; "Masaharu Goto"
<MXJ02154@nifty.ne.jp>
CC: "Rene Brun" <Rene.Brun@cern.ch>; <msanchez@minos.phy.tufts.edu>;
<roottalk@pcroot.cern.ch>
$B7oL>(B : Re: [ROOT] Re: Compiling root on MacOS X 10.2 (jaguar)
$BF|;~(B : 2002$BG/(B9$B7n(B26$BF|(B 23:11

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