[ODE] GCC Stack Size, stepfast disabling bodies, and SIMD idea
david@csworkbench.com
david at csworkbench.com
Fri Apr 4 07:42:01 2003
> david@csworkbench.com wrote:
>> Does anyone know how big of a stack GCC allocates....
>
> Depends on the architecture, OS... and the linker!
Figured. (After I knew where to look, the ld man page said default was
reserve 2MB, commit 4k).
> > and how to change
>> that? Reading through the man pages, -mstack-size doesn't seem to be
>> an option for i386 processors.
>
> Using a GNU ld you can use for example --stack 128000000 to
> define a 128MB runtime stack for the resulting executable. I
> don't know which architectures that's good for -- a very cursory
> look at the man page seems to indicate it's universal...
Exactly what I needed to know.... Thanks a bunch! I'll try it when I get
off work tonight.
David
> --
> Adam D. Moss . ,,^^ adam@gimp.org http://www.foxbox.org/ co:3
> "Half of the harm that is done in this world is due to people who
> want to feel important. They don't mean to do harm. But the harm does
> not interest them." -- T. S. Eliot
>
> _______________________________________________
> ODE mailing list
> ODE@q12.org
> http://q12.org/mailman/listinfo/ode