/st:<size> Set program stack size in bytes.

This option modifies the linked program's stack size. It overrides any default stack set by the program modules if the default stack is smaller than the size specified by the /st option. The value may range from 1 to 65535 bytes.

If no stack is set by this option or by the program, a default 1K (1024 bytes) stack is created by WL32. Executable programs should always have a stack segment.

/sy Create SYM file for CWD debugger.

The /sy option is only useful for operating a CauseWay application with the CWD debugger. When the option is set, WL32 creates a .SYM file that contains information on the public symbols within the application. When using MAP files that have many public symbols, CWD may take a long time to process all of the symbolic information. The .SYM contains this information in an optimized form and allows an application to load under CWD more quickly. CWD will first check for and use a .SYM file. If no .SYM file is available then it uses a .MAP file (if present) for symbolic information.

SYM files also allow source-level debugging of assembly language files if the module is coupled with line numbers.

NOTE: This option may noticeably affect WL32 link speed and should not be specified if it is not needed.

/w1 Warnings generate exit code of 1, not zero.

Unlike errors, warnings do not normally generate a non-zero exit code (also known as the DOS ERRORLEVEL or the return code) when WL32 finishes linking. When the /w1 option is used, warnings cause a exit code of 1 rather than 0 to be returned. This behavior can be useful when creating programs using make or batch files that need to detect warning conditions.

Next Page

Previous Page

Go to Table of Contents

Go back to Devore Software & Consulting home page