comp.lang.ada
 help / color / mirror / Atom feed
From: "Alex R. Mosteo" <devnull@mailinator.com>
Subject: Re: Gnat storage size
Date: Fri, 01 Sep 2006 15:24:30 +0200
Date: 2006-09-01T15:24:30+02:00	[thread overview]
Message-ID: <4lqqjqF2nq7cU1@individual.net> (raw)
In-Reply-To: P4adnbSsMImX2WjZnZ2dnUVZ_sCdnZ2d@comcast.com

tmoran@acm.org wrote:

> So it appears that a simple program that does not use tasks or access
> types is limited to under 4 megabytes of data with Gnat 3.15p on Windows?

This paragraph from the user's guide (2006 GPL edition) applies here. Check
the corresponding one of 3.15p.

"For declared tasks, the stack size is controlled by the size given in an
applicable Storage_Size pragma or by the value specified at bind time with
`-d' (see section 4.2 Switches for gnatbind) or is set to the default size
as defined in the GNAT runtime otherwise.

For the environment task, the stack size depends on system defaults and is
unknown to the compiler. Stack checking may still work correctly if a fixed
size stack is allocated, but this cannot be guaranteed. To ensure that a
clean exception is signalled for stack overflow, set the environment
variable GNAT_STACK_LIMIT to indicate the maximum stack area that can be
used, as in:"



  reply	other threads:[~2006-09-01 13:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-26 18:09 Gnat storage size tmoran
2006-08-26 18:46 ` Gautier
2006-08-26 19:26   ` tmoran
2006-08-28  6:26     ` Alex R. Mosteo
2006-08-30  7:53       ` tmoran
2006-09-01 13:24         ` Alex R. Mosteo [this message]
2006-08-31  0:15     ` Kevin K
2006-08-31  1:42       ` tmoran
2006-08-31 23:47         ` Kevin K
2006-08-26 22:42 ` Kevin K
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox