Is it possible to set the stack limit in DevC++? Basically the same as "ulimit -s" would do on linux.
Asked
Active
Viewed 1,115 times
1 Answers
2
Try giving this option to ld
(the linker):
--stack
reserve
--stack
reserve,commit
Specify the number of bytes of memory to reserve (and optionally commit) to be used as stack for this program. The default is 2Mb reserved, 4K committed. [This option is specific to the i386 PE targeted port of the linker]

Bastien Léonard
- 60,478
- 20
- 78
- 95