From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,2a0aa2b1c348fd6a X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Alex R. Mosteo" Newsgroups: comp.lang.ada Subject: Re: Gnat STORAGE_ERROR Date: Wed, 25 May 2005 10:53:01 +0200 Message-ID: <42943CED.3090408@mailinator.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net MBy1S3RE/cVHTMG2I9gW7g3+6mN/o1GMqBkqE6TdUAoWfEMTw= User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) X-Accept-Language: en-us, en In-Reply-To: Xref: g2news1.google.com comp.lang.ada:11145 Date: 2005-05-25T10:53:01+02:00 List-Id: tmoran@acm.org 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).