Re: preliminary experiences with egcs 1.1 on linux

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Wed Sep 16 1998 - 20:05:09 MEST


Hi Stefan,

  could you let me know the __GNUC_MINOR__ of egcs 1.1. maybe we can use
that to trigger between egcs 1.0.3 and 1.1.

Cheers, Fons.


stefan kluth wrote:
> 
> On Wed, 16 Sep 1998, Andrej Filipcic wrote:
> > you have to define
> >
> > #   define R__ANSISTREAM     /* ANSI C++ Standard Library conformant */
> > #   define R__VECNEWDELETE   /* supports overloading of new[] and delete[]*/
> >
> > as for KAI or HP aCC compiler. ROOT crashes due to missing second define.
> > Then it works fine.
> 
> > On Tue, 15 Sep 1998, stefan kluth wrote:
> > >
> > > Hi,
> > >
> > > I tried to compile root 2.00/11 with the new egcs 1.1 compiler, but I did
> > > have problems. The resulting root.exe crashes with memory management
> > > problems. Did anybody else try this?
> > >
> > > I can compile and run root with egcs 1.0.3 just fine.
> 
> Hello,
> 
> this suggestion works great! I modified RConfig.h, compiled and linked
> again and tried benchmarks.C as well as some of my own root applications.
> We'll probably need something like
> 
> #if defined(__linux) && !defined(__powerpc) && !defined(__egcs10x)
> 
> ...
> 
> #endif
> 
> to pick the correct #defines for linux/egcs1.1 by default. To compile with
> egcs1.0.x one would have to pass the flag -D__egcs10x to the compiler.
> 
> Thanks again! Stefan
> 
> ---Stefan Kluth---------------Lynen Fellow----------------|\--|\-------
> -  LBNL, MS 50A 2160       -  phone:  +1 510 495 2376  -  |/  |/      -
> -  1 Cyclotron Rd.         -  fax:    +1 510 495 2957  -  |\/\|\/\|'  -
> ---Berkeley, CA94720, USA-----e-mail: SKluth@lbl.gov------|/\/|/\/|----

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland          Phone: +41 22 7679248
E-Mail: Fons.Rademakers@cern.ch              Fax:   +41 22 7677910



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:37 MET