How to specify gcc stack size

Andreas Jaeger aj@suse.de
Mon Sep 27 13:17:00 GMT 2004


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20040927/3a356f6b/attachment.sig>


More information about the Gcc mailing list