It is possible to specify the program stack size from
Assuming that the underlying linker is GNU ld there is two ways to do so:
$ gnatlink hello -Xlinker --stack=0x10000,0x1000
This set the stack reserve size to 0x10000 bytes and the stack commit size to 0x1000 bytes.
$ gnatlink hello -Wl,--stack=0x1000000
This set the stack reserve size to 0x1000000 bytes. Note that with
-Wl option it is not possible to set the stack commit size
because the coma is a separator for this option.