I have large Boost/Spirit metaprogram that is blowing gcc\'s stack when I try to compile it.
How can I increase gcc\'s stack size, so I can compile this program?
The stack size can be configured during linking. You should look at details regarding the linker scripts. That will only change the stack size for your single programme.