Any ways to get addr2line working with DMD? works fine with GDC
WB
witold.baryluk at gmail.com
Fri Mar 17 20:53:07 UTC 2023
On Thursday, 16 March 2023 at 22:07:04 UTC, ryuukk_ wrote:
> Hello,
>
>
> The problem is when i compile with DMD i get:
>
> ```
> ??:0
> ```
>
> When i compile it with GDC i get proper file + line
>
>
> What does GDC do different than DMD?
>
> Is there a way to get the same result as GDC with DMD?
>
> Thanks
Did you compile with `-g`? You can also play with `-gs`, and
`-gdwarf=5`. In the past there was also `-gc` option, but it
should be avoided.
More information about the Digitalmars-d-learn
mailing list