Mail Archives: djgpp/1996/04/25/05:36:35
On 24 Apr 1996, GEORGE GAGHON wrote:
> Ok I am having a problem with DJGPP and large arrays. All my arrays do
> not exceed 2megs of RAM (combined).
Are they static (i.e. declared outside any function) or automatic? If
they are automatic (declared inside a function), then they are allocated
on the stack, and the default stack in DJGPP v2 (is that v2?) is limited
to 256KB. The DJGPP FAQ list (v2/faq200b.zip from the same place you get
DJGPP) describes how to enlarge the stack in section 15.8, which see.
> file into it. I looked in the FAQ and found nothing that helped.
How so? The question in section 15.8 says this:
**Q*: My program bombs when I use very large automatic arrays.*
- Raw text -