0 Replies Latest reply on May 17, 2012 9:58 PM by kstan

    how to set stack size in makefile ?

    kstan

      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