www.digitalmars.com         C & C++   DMDScript  

c++.command-line - -ND compiler switch

reply David Qualls <davidlqualls yahoo.com> writes:
Sorry if this is a previously discussed subject.  I couldn't find
how to search the forums.

At http://www.digitalmars.com/ctg/predefined.html, it says:

Set to 1 when -ND is set. Means that the DLL RTL will be used
rather than the statically linked in RTL.

I can't seem to find what "-ND" means.  I'm running dmc version
8.42n and there is no mention of this switch when the command-line
help is displayed.  Later on in the same online help file there is
the line:

Generating Windows DLL. Defined for -WD.
which does make sense to me.

Is the "-ND" a typo?

Sep 11 2007
parent Walter Bright <newshound1 digitalmars.com> writes:
David Qualls wrote:
 Is the "-ND" a typo?
All -ND does is set the default library to SND.LIB rather than SNN.LIB, predefine _MT, and predefine _DLL.
Sep 14 2007