You can use linker module statements as shown below to create module definition files.
The defaults for NONE|SINGLE|MULTIPLE, SHARED|NONSHARED, INITGLOBAL|INITINSTANCE, and TERMGLOBAL|TERMINSTANCE are described in the detailed description of that option.
| Statement | Description | Parameters |
|---|---|---|
| BASE | Set preferred loading address. | Loading address |
| DESCRIPTION | Describe the executable. | Descriptive text |
| EXPORTS | Define exported functions and data. | Entry name
Internal name Ordinal position DECORATED|CONSTANT Parameter size |
| HEAPSIZE | Specify local heap size. | Virtual stack size
Initial physical memory |
| LIBRARY | Identify output as dynamic link library (DLL). | Library name
Loading address |
| NAME | Identify output as executable (EXE). | Application name
Loading address |
| STACKSIZE | Specify local stack size. | Virtual stack size
Initial physical memory |
| STUB | Add DOS executable file to module. | File name to add |
| VERSION | Add string to executable. | Version number to add |