Re: Largest size array in Gnat 2005 for the PC?



On Di, 30 Okt, ME wrote:

"Stefan Bellon" <sbellon@xxxxxxxxxx> wrote in message
news:20071030160021.19047e4e@xxxxxxxxxxxxxxxxxxxxxx

for Default_Switches ("ada") use
("--stack=0x2000000,0x10000");

Yes,

I tried the linker switch -Wl,--stack=0x10000000 in GPL
but what is the second number "0x10000" for?

The first is the stack reserve and the second is the stack commit size.
Specifying the commit size is optional. Default are 2 MB/4 KB
respectively, the above values are factor 16 to the default.

--
Stefan Bellon
.