> Is it possible to set the stack size for a program?? > If so, how can this be done?? > This is using GCC on a SUN Solaris system. Not in the compiler, no. If possible at all, it would be a property of the linker or the operating system. On Solaris, see limit(1) for details. Regards, Martin