User forums > Using Code::Blocks
stack size
solar_max:
Hello,
I try to increase the reserved stack size of my output .exe ! I use Code::Blocks on Windows with the MingW compiler. Can I set a variable ?
Thanks for help !
thomas:
--- Code: ---D:\desktop>ld --help |grep stack
--stack <size> Set size of the initial stack
--- End code ---
solar_max:
Thanks !
Ok for cmd line, but can I configure this in CodeBlocks ? It will be easier if I haven't to go through the cmd line before each run in CodeBlocks ...
Maciek:
project->build options->linker settings->other linker options
TDragon:
--- Quote from: Maciek on January 02, 2008, 10:55:55 pm ---project->build options->linker settings->other linker options
--- End quote ---
... and make sure to tack "-Wl," on the beginning -- i.e. "-Wl,--stack=1024", or whatever you choose for your stack size.
Navigation
[0] Message Index
[#] Next page
Go to full version