/SUBSYSTEM
Syntax:
- /SUBSYSTEM:{CONSOLE|WINDOWS|NATIVE|POSIX|WINDOWSCE}[,major [.minor]]
Tells the operating system how to run the executable file. The subsystem
is specified as follows:
- The CONSOLE subsystem is used for Win32 character-mode applications.
Console applications are given a console by the operating system. If main
or wmain is defined, CONSOLE is the default.
- The WINDOWS subsystem is appropriate for an application that does not
require a console. It creates its own windows for interaction with the
user. If WinMain or wWinMain is defined, WINDOWS is the default.
- The NATIVE subsystem is used for device drivers.
- The POSIX subsystem creates an application that runs with the POSIX subsystem in
Windows NT 4 or Windows 2000.
- The WINDOWSCE subsystem is not used by Visual Fortran.
The optional major and minor version numbers specify the
minimum required version of the subsystem. The arguments are decimal numbers
in the range 0 - 65535. The default is version 3.10 for CONSOLE and WINDOWS
and 1.0 for NATIVE.
The choice of subsystem affects the default starting address for the
program. For more information, see the /ENTRY option.