Determining the Default EXETYPE Value in Microsoft LINK (83230)
The information in this article applies to:
- Microsoft LINK for MS-DOS
- Microsoft LINK for OS/2
This article was previously published under Q83230 SUMMARY
Beginning with version 5.3, the Microsoft Segmented Executable Linker can
create executable files for three different operating systems: MS-DOS,
Microsoft Windows, and OS/2. LINK determines the executable file type
(EXETYPE) unless it is specified explicitly in the module- definition
(.DEF) file. The EXETYPE defaults to a different type depending on the host
operating system, the presence of the .DEF file, and the presence of
imported or exported symbols. The following chart summarizes the default
EXETYPE values:
--------------------------------------------------------------------
|Host Operating | No .DEF File | .DEF File |Imports/Exports in Module|
| System | Present | Present |and No .DEF File Present |
--------------------------------------------------------------------
| | | | |
| MS-DOS | MS-DOS | Windows | MS-DOS |
| | | | |
--------------------------------------------------------------------
| | | | |
| OS/2 | OS/2 | Windows | OS/2 |
| | | | |
--------------------------------------------------------------------
In previous versions of the Segmented Executable linker, OS/2 is the
default EXETYPE when a .DEF file is present.
Modification Type: | Major | Last Reviewed: | 10/23/2003 |
---|
Keywords: | kb16bitonly KB83230 |
---|
|