comp.lang.ada
 help / color / mirror / Atom feed
From: Jerry <lanceboyle@qwest.net>
Subject: Re: Can't set executable stack size during compilation
Date: Wed, 4 Jan 2012 19:03:28 -0800 (PST)
Date: 2012-01-04T19:03:28-08:00	[thread overview]
Message-ID: <756a0ca8-5045-4822-83af-eed794d073ff@q8g2000yqa.googlegroups.com> (raw)
In-Reply-To: 4f047e0f$0$6582$9b4e6d93@newsspool3.arcor-online.net

On Jan 4, 9:27 am, Georg Bauhaus <rm.dash-bauh...@futureapps.de>
wrote:
> On 04.01.12 16:49, Erich wrote:
>
> > I have a problem setting the stack size of a GNAT made program during
> > compilation. It is a bit memory extensive and sometimes yields a
> > storage error with the standard stack size (I'd prefer to avoid the
> > heap for the time being).
>
> > None of the methods described here:
>
> >http://gcc.gnu.org/onlinedocs/gnat_ugn_unw/Setting-Stack-Size-from-gn...
>
> > so far had any effect on the executable. (The -Xlinker version yields
> > a linker error when set as link option in GNAT-GPS.) Using ulimit -s
> > 32768 manually in the shell solves the problem, but this is not a good
> > option for final deployment.
>
> This looked like having relevant information. The last paragraph
> hints at setrlimit(2).
>
<snip>

setrlimit is discussed here:
http://groups.google.com/group/comp.lang.ada/browse_thread/thread/ae395e5c11de7bc9/bda8d61bd3a66ee9?hl=en&q=Jerry+stack&lnk=nl&

Jerry



  parent reply	other threads:[~2012-01-05  3:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-04 15:49 Can't set executable stack size during compilation Erich
2012-01-04 16:27 ` Georg Bauhaus
2012-01-04 17:22   ` Bill Findlay
2012-01-04 21:36     ` Georg Bauhaus
2012-01-05  1:06       ` Randy Brukardt
2012-01-05  4:35         ` Bill Findlay
2012-01-05 10:19           ` Georg Bauhaus
2012-01-05 12:35             ` Erich
2012-01-05  3:03   ` Jerry [this message]
2012-01-05 13:20   ` Mark Lorenzen
2012-01-05  3:12 ` Jerry
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox