This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: i370 ELF patches for ESA/390
On Fri, Sep 10, 1999 at 12:45:28AM -0500, linas@linas.org wrote:
> Hmmm ... good point. Do you know of any studies that describe
> that might talk about the largest stack(s) every used by programs,
> and/or 'typical' sizes?
8MB is the standard soft resource limit on Linux, But you'd want
to leave a lot more vm room than that. How much and where I guess
depends on the rest of your standard vm layout.
> While we're on the topic ... any pointers to alloca options in gcc?
> I noticed that the default gcc behaviour for alloca doesn't really work
> for me, but I haven't really explored it yet.
Err.. I dunno. The implementation is in allocate_dynamic_stack_space;
it's always Just Worked for me. Without any more details I can't make
any coherent suggestions.
r~