Re: Gnat storage size



tmoran@xxxxxxx:

What command line parameter do I need with Gnat 3.15p to increase the
main program's stack size?

-largs -Wl,--stack=0x1000000

see the GNAT User's Guide: 5.3 Setting Stack Size from gnatlink
(e.g.:
http://beru.univ-brest.fr/~singhoff/DOC/LANG/ADA/gnat_ugn_6.html#SEC81
)

HTH, Gautier
______________________________________________________________
Ada programming -- http://www.mysunrise.ch/users/gdm/gsoft.htm

NB: For a direct answer, e-mail address on the Web site!
.



Relevant Pages

  • Re: Gnat storage size
    ... see the GNAT User's Guide: 5.3 Setting Stack Size from gnatlink ... raised STORAGE ERROR: EXCEPTION_STACK_OVERFLOW ...
    (comp.lang.ada)
  • Re: Gnat storage size
    ... see the GNAT User's Guide: 5.3 Setting Stack Size from gnatlink ... raised STORAGE ERROR: EXCEPTION_STACK_OVERFLOW ...
    (comp.lang.ada)