Cheers Laurent: but I'm still left with the same problem. Here's a quick summary of what I did to include the -O0 option: cd ......./root/config cp Makefile.linux Makefile.linux.original pico Makefile.linux >edited the OPT section to read -O0 cd .. ./configure linux gmake >>> virtual memory exhausted (I tried -fno-inline as well, with the same result). Trawling through the web I notice that the system's max stack size can be a factor in these problems. My virtual memory's at a half Gig, but my stack size (with ulimit -a) is at only 8 Mb ... might that be the issue? Cheers, Tim ----- Original Message ----- From: "Laurent Le Guillou" <leguil@in2p3.fr> To: "Tim Barrass" <tim.barrass@bristol.ac.uk> Cc: "roottalk" <roottalk@pcroot.cern.ch> Sent: Wednesday, October 16, 2002 12:28 PM Subject: Re: [ROOT] Compiling under Linux: virtual memory exhausted > > On Wed, 16 Oct 2002, Tim Barrass wrote: > > Hi all, > > I'm trying to compile ROOT under RH6.1, gcc2.95.2. Unfortunately gmake > > fails claiming "virtual memory exhausted". Is there a way I can limit > > the memory usage of the compiler (e.g. by tweaking the options in > > the Makefile?). > > With the "-O0" option, gcc will use less memory (it > will not optimize). > I hope this could help. > > Laurent > > > > >
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:14 MET