From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Storage_Size in a Simple Program
Date: Mon, 29 Oct 2018 15:58:55 -0500
Date: 2018-10-29T15:58:55-05:00 [thread overview]
Message-ID: <pr7sag$lk4$1@franka.jacob-sparre.dk> (raw)
In-Reply-To: 2635fb12-5836-4713-998d-e8179b801500@googlegroups.com
<joakimds@kth.se> wrote in message
news:2635fb12-5836-4713-998d-e8179b801500@googlegroups.com...
>> Since the main program's stack limit is determined by the OS, I don't
>> see how an Ada aspect/pragma can affect it.
...
> On Windows it may be possible to specify the size of stack at link time.
> Consider for example the Windows linker that has a flag /Stack to be able
> to set the size of the stack in bytes:
> https://msdn.microsoft.com/en-us/library/y0zzbyt4.aspx
That's the only way I know for Windows. Janus/Ada has a binder option that
sets the stack size in the generated .OBJ file, and the Windows linker then
puts that in the executable. I believe that GNAT has something similar on
Windows (haven't had to try that to date).
Randy.
next prev parent reply other threads:[~2018-10-29 20:58 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-21 21:35 Storage_Size in a Simple Program Charles H. Sampson
2018-10-22 4:00 ` Simon Wright
2018-10-22 5:46 ` Jacob Sparre Andersen
2018-10-22 11:39 ` joakimds
2018-10-22 12:17 ` Egil H H
2018-10-22 13:51 ` Simon Wright
2018-10-24 9:07 ` Charles H. Sampson
2018-10-24 20:51 ` Niklas Holsti
2018-10-25 13:37 ` joakimds
2018-10-25 15:56 ` Simon Wright
2018-10-25 21:32 ` Niklas Holsti
2018-10-25 21:39 ` joakimds
2018-10-29 20:58 ` Randy Brukardt [this message]
2018-10-30 19:31 ` Niklas Holsti
2018-10-31 20:45 ` Randy Brukardt
2018-10-25 22:23 ` Anh Vo
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox