Remove CRT (C's runtime) from betterC binaries?
Kagamin
spam at here.lot
Wed Aug 15 08:00:00 UTC 2018
On Tuesday, 14 August 2018 at 13:34:51 UTC, rikki cattermole
wrote:
> On 15/08/2018 1:11 AM, Rel wrote:
>> Can I or is it even possible to remove the CRT (C's runtime
>> library) completely from my executables compiled with betterC
>> flag?
>
> Sure, but you can't let dmd link and it'll be a right pain (at
> least on Windows) to not have a libc to deal with the entry
> point for you.
It's actually much easier to live without crt on windows because
the system provides most stuff like io, threads and memory heap
with nice api.
More information about the Digitalmars-d
mailing list