delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/11/14:31:12

Date: Sat, 11 Nov 2000 21:30:25 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: djgpp AT delorie DOT com
Message-Id: <4331-Sat11Nov2000213024+0200-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6
In-reply-to: <dphq0tk3q379loiideccpcmrn4ga535nfl@4ax.com> (message from
chris319 on Sat, 11 Nov 2000 05:20:05 -0800)
Subject: Re: Array Size Question
References: <dphq0tk3q379loiideccpcmrn4ga535nfl AT 4ax DOT com>
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: chris319 <chris319 AT delorie DOT com>
> Newsgroups: comp.os.msdos.djgpp
> Date: Sat, 11 Nov 2000 05:20:05 -0800
> 
> By default, what is the maximum array size in gcc and how can I set
> up an array larger than the default size?

If you are talking about global or static arrays, the limit is 2GB
(actually, 2GB minus the size of the other data and code), and you
cannot enlarge it.

If you are talking about local (a.k.a. automatic) arrays, they are
limited by the stack size.  The stack is by default 512KB, but it can
be enlarged using the STUBEDIT program.  For more details, see section
15.9 of the DJGPP FAQ list.

- Raw text -


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