stripping binaries from LDC2

max haughton maxhaton at gmail.com
Mon Feb 7 13:14:19 UTC 2022


On Monday, 7 February 2022 at 12:16:53 UTC, Arjan wrote:
> In c++ our release builds are build `-O2 -g` and the resulting 
> binaries are stripped with GNU/strip.
> Is this also possible with LDC2 generated binaries for D code?
> So build D code with `-O2 -g` and then strip the resulting 
> binary?

Why build with debug info if you're going to strip it anyway?


More information about the Digitalmars-d-learn mailing list