delorie.com/archives/browse.cgi | search |
Message-Id: | <199903191924.OAA04302@delorie.com> |
Comments: | Authenticated sender is <mert0407 AT sable DOT ox DOT ac DOT uk> |
From: | "George Foot" <george DOT foot AT merton DOT ox DOT ac DOT uk> |
To: | "Edward F. Sowell" <sowelled AT home DOT com> |
Date: | Fri, 19 Mar 1999 19:22:27 +0000 |
MIME-Version: | 1.0 |
Subject: | Re: Large compile files cause fault |
CC: | djgpp AT delorie DOT com |
X-mailer: | Pegasus Mail for Win32 (v2.42a) |
Reply-To: | djgpp AT delorie DOT com |
On 19 Mar 99 at 3:50, Edward F. Sowell wrote: > I have experienced GPFs when trying to compile files > 1Mb. There is > no messgae from g++; Windows just reports the GPF and > the DOS box it is running in is killed. > > I suspect it's running out of stack/heap. Is there a switch > like th -Zm switch in VC++ that tells it to use a bigger one? You might need to enlarge the compiler's stack size. The compiler is cc1.exe; you use stubedit to change various settings. See section 6.6 of the FAQ. Do you really need to be compiling such large files? Isn't it possible to split them into smaller pieces? > Is this a known problem? Perhaps; see chapter 6 of the FAQ. I looked briefly but didn't see any reference to GPFs though. -- George
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |