What does the -betterC switch in dmd do?

Justin Whear via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Nov 12 14:24:46 PST 2015


On Thu, 12 Nov 2015 19:37:41 +0000, TheFlyingFiddle wrote:

> The description in dmd help says: omit generating some runtime 
> information and helper functions.
> 
> What runtime information are we talking about here?  My 
> understanding is that it's basically an experimental feature but 
> when (if) completed what subset of the language would still be 
> usable?

I believe the purpose of the switch is to help folks who are trying to 
write for bare or embedded systems by not emitting references to the D 
runtime library and runtime module information.  Whether it actually does 
that in its current implementation is another question.


More information about the Digitalmars-d-learn mailing list