Mail Archives: djgpp/1998/04/17/03:51:40
Date: | Fri, 17 Apr 1998 10:51:11 +0200 (WET)
|
From: | "Andris Pavenis (LU Astro.)" <pavenis AT lanet DOT lv>
|
To: | Paul Derbyshire <pderbysh AT usa DOT net>
|
cc: | djgpp AT delorie DOT com
|
Subject: | Re: SEVERE PGCC BUG
|
In-Reply-To: | <WKAZ.3310$sN3.565361@news21.bellglobal.com>
|
Message-ID: | <Pine.A32.3.91.980417104202.68648A-100000@ieva05.lanet.lv>
|
MIME-Version: | 1.0
|
On Fri, 17 Apr 1998, Paul Derbyshire wrote:
> Take the code below, save it as foo.cc, and, having equipped yourself with pgcc
> 1.0.1 and the STL headers from gpp280b.zip, issue this:
>
> gcc -c foo.cc -o foo.o -O6 -mpentium -Wall -Werror -fno-implicit-templates
>
> The result, on a 32 meg system, with all the DOS properties in W95 set for
> maximum memory, 23 megs physical free and 64 virtual, is this utter and
> complete BULLSHIT!
>
> c:/djgpp/lang/cxx/stl_rope.h: In function `class
> rope<__wchar_t,__default_alloc_template<false,0> > &)':
> c:/djgpp/lang/cxx/stl_rope.h:1991: virtual memory exhausted
>
>
> What the hell is wrong with the cc1plus.exe in pgcc 1.0.1?!?!?!
> There is NO WAY IN HELL it is using 64 entire megabytes and then trying to get
> more! What is REALLY wrong and why doesn't cc1plus.exe issue a more accurate
> and informative error message???
>
> I would like to have some feedback about this and an estimate for when this
> extremely serious bug will be fixed, ASAP, since a project I'm working on is
> completely stalled until I have a cc1plus.exe that will faithfully compile my
> code under the sole condition that the code be syntactically correct.
>
Perhaps You can complain Micro$oft that only 64MB are available for DOS
session. Try quitting Windows and using CWSDPMI and have enough swap
space on HD. Your example really eats much memory. I tested this with
pgcc-1.0.2 under Linux. As I tested that the maximal amount was about
30Mb. Perhaps DJGPP version of gcc eats more...
Andris
- Raw text -