Array Size Limits
Nathan Sidwell
nathan@codesourcery.com
Mon Dec 13 13:18:00 GMT 2004
Jack Liddle wrote:
> As I understand it the size of the stack and the size of the variables
> would be set by the compiler. Probably due to different compiler versions
> across the system. More expert people on this list would know more about
> this than I.
The size of stack frames and variables is determined by the compiler.
The maximum stack size is controlled by the environment, not the
compiler. I know there is a way in Microsoft Windows for a program
to say 'I need X bytes of stack', but I don't know exactly what that way is.
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk
More information about the Gcc-help
mailing list