samedi 15 novembre 2014

Increase stack-size with Code::Blocks/GNU GCC


Vote count:

0




im comparing different sorting algorithms (in C). So i want to sort different arrays with 200.000 elements.


Insertionsort, Selectionshort, Shellsort run fine, just Quicksort and Mergesort dont run with more than ~30.000 elements.


Since those are the algorithms which require more memory, i think the stack is too small. So i already tried the -Wl,--stack option to increase the stack-size in the Linker-Settings in Codeblocks.


Sadly it doesnt change anything.


Hope someone can tell me how to increase stack-size correct.


Best regards



asked 44 secs ago







Increase stack-size with Code::Blocks/GNU GCC

Aucun commentaire:

Enregistrer un commentaire