Date: Sat, 11 Nov 2000 21:30:25 +0200 From: "Eli Zaretskii" 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: (message from chris319 on Sat, 11 Nov 2000 05:20:05 -0800) Subject: Re: Array Size Question References: 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 Precedence: bulk > From: chris319 > 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.