(971016) g++ and Blitz -- YES
Bill Gribble
grib@cs.utexas.edu
Sat Oct 18 17:49:00 GMT 1997
Mumit Khan <khan@xraylith.wisc.edu> 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
More information about the Gcc
mailing list