Hi,
probably this is a stupid question, but I am desperate now and can not finf the answer. In OSX during C++ program compilation with G++ I use
LD_FLAGS= -Wl,-stack_size,0x100000000
but in suse linux I get constantly erros like:
x86_64-suse-linux/bin/ld: unrecognized option '--stack'
and similar.
I know that some options to cope with this is to use
ulimit -s unlimited
but this is not nice as not always can a single user do that.
How can I increase the stack size in Linux with GCC for a single application?
Tjanks