This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: (971016) g++ and Blitz -- YES
- To: Mumit Khan <khan at xraylith dot wisc dot edu>
- Subject: Re: (971016) g++ and Blitz -- YES
- From: Bill Gribble <grib at cs dot utexas dot edu>
- Date: 18 Oct 1997 19:49:16 -0500
- Cc: egcs at cygnus dot com
- References: <9710182239.AA11655@modi.xraylith.wisc.edu>
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