Re: Gnat STORAGE_ERROR
- From: "Alex R. Mosteo" <devnull@xxxxxxxxxxxxxx>
- Date: Wed, 25 May 2005 10:53:01 +0200
tmoran@xxxxxxx wrote:
Would some kind soul remind me how one gets more memory for a program compiled by Gnat for Windows? "-Wl,--stack=0x2000000" seems to be an upper limit for successful linking, but inadequate for excecution. (I recently doubled RAM and now I'm getting Storage_Error!)
I have had success with 3.15p using
--Xlinker --stack=4000000,4000000
however in linux there seems to be some other limit imposed by ld (not just to Ada programs) that I've been unable to break (nor to get some other person to acknowledge that the problem really exists, but some obscure post in some unknown forum).
.
- Follow-Ups:
- Re: Gnat STORAGE_ERROR
- From: tmoran
- Re: Gnat STORAGE_ERROR
- From: Duncan Sands
- Re: Gnat STORAGE_ERROR
- References:
- Gnat STORAGE_ERROR
- From: tmoran
- Gnat STORAGE_ERROR
- Prev by Date: Re: SPARK and Interfaces.C
- Next by Date: Re: Calling C++ procs from Ada - linkage problem solved
- Previous by thread: Gnat STORAGE_ERROR
- Next by thread: Re: Gnat STORAGE_ERROR
- Index(es):