comp.lang.ada
 help / color / mirror / Atom feed
* Can't set executable stack size during compilation
@ 2012-01-04 15:49 Erich
  2012-01-04 16:27 ` Georg Bauhaus
  2012-01-05  3:12 ` Jerry
  0 siblings, 2 replies; 11+ messages in thread
From: Erich @ 2012-01-04 15:49 UTC (permalink / raw)


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-gnatlink.html

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.

I'd appreciate any help!


Best,

Erich

----
P.S. Running 64bit Ubuntu 10.04 with gcc 4.4.3 and GNAT-GPS 4.3.5 from
the Ubuntu 10.04 package as IDE. The version of GNAT used:

gnatls -v

GNATLS 4.4.3
Copyright (C) 1997-2008, Free Software Foundation, Inc.

Source Search Path:
   <Current_Directory>
   /usr/lib/gcc/x86_64-linux-gnu/4.4.3/adainclude/


Object Search Path:
   <Current_Directory>
   /usr/lib/gcc/x86_64-linux-gnu/4.4.3/adalib/


Project Search Path:
   <Current_Directory>
   /usr/share/ada/adainclude/



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-01-05 13:25 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2012-01-05 13:20   ` Mark Lorenzen
2012-01-05  3:12 ` Jerry

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