AnsweredAssumed Answered

how to set stack size in makefile ?

Question asked by kstan on May 17, 2012

Hi,

 

I try to set the stack size for my program but it gives the following error :

 

unrecognised option '--stack'.

 

How to correctly specify the stack size in the makefile ?

 

 

 

Content in In my makefile :

 

LD_FLAGS += -L$(LINUX_INSTALL)/lib -lm -lpthread

 

LD_FLAGS += -Wl,--stack,33554432

 

 

Thanks,

Mr Tan

Outcomes