delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/29/17:05:47

Date: Sat, 30 Sep 2000 00:05:35 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT inter DOT net DOT il
To: clc5q AT cobra DOT cs DOT Virginia DOT EDU
Message-Id: <9791-Sat30Sep2000000535+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.2.emacs20_6 I) and Blat ver 1.8.5h
CC: djgpp AT delorie DOT com
In-reply-to: <8r29kr$opd$1@murdoch.acc.Virginia.EDU>
(clc5q AT cobra DOT cs DOT Virginia DOT EDU)
Subject: Re: Program too big to compile (was Re: missing cc1plus.exe file)
References: <_spx5.40284$XZ4 DOT 513027 AT news DOT infostrada DOT it> <8q9vhv$dlq$1 AT antares DOT lu DOT erisoft DOT se> <8qa77h$q71$1 AT murdoch DOT acc DOT Virginia DOT EDU> <8qa9to$hf8$1 AT antares DOT lu DOT erisoft DOT se> <8r29kr$opd$1 AT murdoch DOT acc DOT Virginia DOT EDU>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: clc5q AT cobra DOT cs DOT Virginia DOT EDU (Clark L. Coleman)
> Newsgroups: comp.os.msdos.djgpp
> Date: 29 Sep 2000 14:40:27 GMT
> 
> As I have a multi-boot system, I am thinking of trying to compile a
> version under Linux at full size, and reduce the size of the DJGPP
> version. I can compile successfully, under DOS or NT, if I #ifdef out
> about 35% of the source code, producing about 700KB of object instead
> of 1.2 MB. And the minstack of 24MB is more than sufficient for this,
> while making the code size 50% bigger and upping the minstack to 64 MB
> is insufficient.

Based on this description, I suspect that the stack size is not the
only problem.  You might be hitting some problem with excess memory
requirements (on the heap) as well.  GCC was reported to have nasty
problems in some rare cases, when Windows allocates memory
non-contiguously.

Can you try to compile this on plain DOS with CWSDPMI?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019