www.digitalmars.com         C & C++   DMDScript  

c++.command-line - Subsystem .def directive

reply "tjulian" <t t.com> writes:
To create win32 console apps, the docs say to use the SUBSYSTEM CONSOLE
directive in the Module definition file. But in the docs for Optlink's
Module Definition Files, this directive does not exist.

Is the directive necessary for console apps? If so, can the docs be updated?
Jan 17 2002
next sibling parent Jan Knepper <jan smartsoft.cc> writes:
tjulian wrote:

 To create win32 console apps, the docs say to use the SUBSYSTEM CONSOLE
 directive in the Module definition file. But in the docs for Optlink's
 Module Definition Files, this directive does not exist.

 Is the directive necessary for console apps?
YES!
 If so, can the docs be updated?
Probably...
Jan 17 2002
prev sibling parent "Walter" <walter digitalmars.com> writes:
No, it is not necessary to even use a def file to create console apps. It is
supported by the linker, even if not mentioned in the docs. -Walter

"tjulian" <t t.com> wrote in message news:a26ndp$9cd$1 digitaldaemon.com...
 To create win32 console apps, the docs say to use the SUBSYSTEM CONSOLE
 directive in the Module definition file. But in the docs for Optlink's
 Module Definition Files, this directive does not exist.

 Is the directive necessary for console apps? If so, can the docs be
updated?

Jan 17 2002