How to build dmd with debugging symbols in Linux/x86_64?

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Thu Sep 11 23:21:35 PDT 2014


On 12/09/14 00:22, H. S. Teoh via Digitalmars-d wrote:

> Any ideas how to work around this breakage? (Short of hacking
> root/checkedint.c, which is not particularly appealing since it's
> supposed to be a direct translation of the D version of checkedint.)

If you only need debugging symbols, then don't pass DEBUG=1. Just add 
the "-g -g3" to the command line in the makefile.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list