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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,73c865853bdc4937 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Sat, 26 Aug 2006 14:26:56 -0500 From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Gnat storage size References: <44f096f8$1_3@news.bluewin.ch> X-Newsreader: Tom's custom newsreader Message-ID: Date: Sat, 26 Aug 2006 14:26:56 -0500 NNTP-Posting-Host: 67.164.83.70 X-Trace: sv3-ullXid62sJklWgn0j2yZzroACzTDpYDbdbyhuQS1O+DMGCPSNYDi7wQ9qPuY7miZfG5zEVVxWIFiZCv!zsP4pgaDzmCOMmP6x7YA9bmsQoFWAj5Xd9PnERpriGIZeyxdZapYUZVD7vexHddRAwiUwIgmdLrs!zeK0dZ6krWvQgg== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news2.google.com comp.lang.ada:6398 Date: 2006-08-26T14:26:56-05:00 List-Id: > > 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 gnatmake big -largs -Wl,--stack=0x1000000 works for a parameter of 4022 but gives: raised STORAGE ERROR : EXCEPTION_STACK_OVERFLOW with a parameter >= 4023, while either of gnatmake big -largs -Wl,--stack=0x2000000 gnatmake big -largs -Wl,--stack=0x8000000 work for 4023 .. 4025 but 4026 again gives: raised STORAGE_ERROR : big.adb:4 object too large