comp.lang.ada
 help / color / mirror / Atom feed
From: Erich <john@peppermind.com>
Subject: Can't set executable stack size during compilation
Date: Wed, 4 Jan 2012 07:49:53 -0800 (PST)
Date: 2012-01-04T07:49:53-08:00	[thread overview]
Message-ID: <ce6c46af-03e5-43bf-aa62-e7415061cf64@n6g2000vbg.googlegroups.com> (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/



             reply	other threads:[~2012-01-04 15:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-04 15:49 Erich [this message]
2012-01-04 16:27 ` Can't set executable stack size during compilation 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
replies disabled

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