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
| |
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:11 MET