Re: [ROOT] Advice for Good Programming : Part 2:

From: Christian Holm Christensen (cholm@hehi03.nbi.dk)
Date: Mon Sep 03 2001 - 22:57:23 MEST


Hi Prasad, 

On Mon, 3 Sep 2001 23:47:48 +0530 (IST)
"B.V.L.S.Prasad" <shiva@mbu.iisc.ernet.in> wrote
concerning "[ROOT] Advice for Good Programming : Part 2:":
> Dear masa, rooters and all,
> 
> 	I am using Mandrake 8.0, g++-2.96 and cint5.15.06. version. 
> 
>       g++ -Wall -I/home/shiva/cint   -DG__REGEXP -DG__SHAREDLIB
>          -DG__OSFDLL -DG__ANSI -O   -c G__cpp_BioBhasha.C

I can not reproduce your problem on my i386, running Redhat 6.2 Linux
(EGCS 1.1.2 G++).  I think that perhaps there is a internal error in
your compiler.  You should a bug report, but probably no to the GCC
developers, 'cause "GCC 2.96" is a Redhat thing - there's no 2.96
release of GCC.  The latest is 3.0, and the one before that is
2.95.3.  

You said in your previous mail, that GCC crashes when I reaches 256MB?
I guess you have around a total of 256MB virtual memory (both RAM and
swap).  When Linux is asked to manage more memory then what is a
avaliable, it'll try to kill the rough process - sometimes, it can
not, and your system may crash, but then the ELBID.

For your convinience, I've attached a tar-ball with what I, which
worked.  I don't know if that will help you.  Try also to compile
without optimisation (the -O flag). 

> Be Happy,
> Enjoy Life.

Well, you too. 

Yours, 

Christian Holm Christensen -------------------------------------------
Address: Sankt Hansgade 23, 1. th.           Phone:  (+45) 35 35 96 91 
         DK-2200 Copenhagen N                Cell:   (+45) 28 82 16 23
         Denmark                             Office: (+45) 353  25 305 
Email:   cholm@nbi.dk                        Web:    www.nbi.dk/~cholm



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:59 MET