BetterC Is Not Ready

Jack Stouffer jack at jackstouffer.com
Fri Jun 3 00:55:59 UTC 2022


On Friday, 3 June 2022 at 00:27:00 UTC, Adam Ruppe wrote:
> oh no, you just make a file called `object.d` and add it to 
> your build and you'll override the normal druntime, and/or you 
> can then just not link in the default one (`dmd -defaultlib= 
> yourfile.d`). It is easiest to keep the default one around even 
> if you don't link it in since some things will be 
> auto-generated as needed.
>
> I've written a little about this in the past: see my "D 
> Cookbook" if you wanna buy one (though no-runtime D is a moving 
> target and that is abit old now), or some of my blog posts:

This is fantastic. Thank you.

BTW, this is the description of defaultlib in the help page:

"-defaultlib=<name> set default library to name"


More information about the Digitalmars-d mailing list