This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to specify gcc stack size


tony vong <tonyvong2002@yahoo.com> writes:

> What is the default stack size when I use (linux) gcc
> to compile a program ? How do I increase the stack
> size ? thanks.

This is the wrong list for such questions, as this list is about
development *of* GCC.

For questions regarding development with GCC, use gcc-help.

To answer your question briefly: The Linux kernel adds the initial
stack and that one is unlimited unless you change it with ulimit,

Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SUSE Linux AG, Maxfeldstr. 5, 90409 NÃrnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]