From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bill Gribble To: Mumit Khan Cc: egcs@cygnus.com Subject: Re: (971016) g++ and Blitz -- YES Date: Sat, 18 Oct 1997 17:49:00 -0000 Message-id: <87vhyutw4z.fsf@firetrap.csres.utexas.edu> References: <9710182239.AA11655@modi.xraylith.wisc.edu> X-SW-Source: 1997-10/msg00833.html Mumit Khan writes: > I'm within microns of getting my own code to build under egcs -- the new > rules (guiding decls) have me a bit confused, but now it's just a matter > of time. WRT memory consumption: I have found that on our Linux machines using heavily STL-ized code, there's one of my own source files that reliably runs out of virtual memory even with 64M physical RAM and over 500M swap. After reading Jason's suggestion that -Wreturn-type (implied by -Wall) defeated his memory-hogging fix, I started stripping off options. Compiling with no -W switches, no optimization, and no debugging info shrinks memory consumption by more than an order of magnitude (at least -- a file that failed to compile with 564M available compiles without touching disk now). And SGI STL brought some really, really terrible coding errors to light that HP STL should have barfed all over but compiled without a warning. Go, egcs! Bill Gribble