comp.lang.ada
 help / color / mirror / Atom feed
* Note on STORAGE_ERROR to Domain/Ada programmers
@ 1990-08-30  7:02 "Jonathan B. Owen"
  0 siblings, 0 replies; only message in thread
From: "Jonathan B. Owen" @ 1990-08-30  7:02 UTC (permalink / raw)


A while back I posted a query about getting a STORAGE_ERROR
exception by attempting to invoke a procedure.  My hunch was that
I was running out of stack space.  I was a bit surprised, since
I defined a stack of 1.5Meg!

Turns out that the stack size was not increased to my specifications,
but rather remained at the default stack size of 256K.  To increase
stack size **properly** in Domain/Ada (Ver. 3.0) one must compile
a copy of config.a (supplied by the Ada product) AND make sure
it participates in the link of the exec.  This can be done by
either including a "WITH CONFIG" clause in the main procedure of
the link, or by including link directives in the Ada library.  The
latter must include a link directive to each one of the two object
files produced by the compilation of config.a (config01 and config02).
If only config02 is specified, the stack size will not be increased.
Take it from me, I mistakenly did so, and it didn't work...

                                               Jonathan

______________________________________________________________________________
  (--)    /--)     /-(\                 Email: gdau100@bguvm (bitnet)
  \ /    /--K      | \|/\   /\/) /|-\   Snail: 55 Hovevei Zion
  _/_/o /L__)_/o \/\__/  \X/  \_/ | |_/        Tel-Aviv, 63346  ISRAEL
 (/        Jonathan B. Owen             Voice: (03) 281-422

 Point of view:  A chicken is the means by which an egg reproduces an egg.
______________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1990-08-30  7:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1990-08-30  7:02 Note on STORAGE_ERROR to Domain/Ada programmers "Jonathan B. Owen"

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