Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Warplink version 2.6 - <b>/st:<size> set program stack size in bytes.</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
/st:<size>              Set program stack size in bytes.
---------------------------------------------------------------------------------

 Syntax:

 Size is stack size, in bytes.

 Description:

 This option allows you to modify the linked program's stack size.  It will
 override the default stack set by the programming language. It corresponds
 to the Microsoft Link option of the same name.

 This value can be modified after linking with the WarpMod utility as
 described in Chapter 8, WarpMod Utility.

 In most situations, the default value for the program stack size that is set
 by your compiler is sufficient.  This value will seldom need to be modified, but this option is available for those situations where more
 stack space than the language default is needed.

 Do not confuse the /st setting with the /os setting. The /os option specifies
 the size of the overlay manager's internal stack.  If you receive a stack
 error message from your program related to stack size, you should modify the
 /st option setting rather than the /os option setting.


----------------------------------[ Example ]------------------------------------

Link the object file MASMAPP.OBJ, setting the application stack size to 2048.

   warplink  /st:2048  masmapp

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson