dmd -betterC
Kagamin via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jun 20 10:30:43 PDT 2017
On Tuesday, 20 June 2017 at 08:36:38 UTC, Mike wrote:
> I know, but you do know what linker features exists and how the
> linker works, and could generate better intermediate code that
> could allow the linker to more effectively identify and remove
> dead code.
You can write a linker wrapper that will do the analysis you
want, remove unneeded sections, stub symbols etc, see basic
technique at
https://theartofmachinery.com/2016/12/18/d_without_runtime.html
More information about the Digitalmars-d
mailing list