Thread overview
compiler flags
Feb 12, 2005
Andrew Fedoniouk
Feb 12, 2005
Walter
Feb 12, 2005
John Demme
Feb 13, 2005
Andrew Fedoniouk
February 12, 2005
Is there any information about following flags, their effects and symbolic info produced by dmd.exe?

-g
add symbolic debug info
-gt
add trace profiling hooks

Andrew Fedoniouk.
http://terrainformatica.com


February 12, 2005
"Andrew Fedoniouk" <news@terrainformatica.com> wrote in message news:cukddo$s3e$1@digitaldaemon.com...
> Is there any information about following flags, their effects and symbolic info produced by dmd.exe?
>
> -g
> add symbolic debug info

It adds codeview symbolic debug info for Windows, and Dwarf symbolic debug info for Linux.

> -gt
> add trace profiling hooks

www.digitalmars.com/ctg/trace.html

> Andrew Fedoniouk.
> http://terrainformatica.com
>
>


February 12, 2005
Walter wrote:
> "Andrew Fedoniouk" <news@terrainformatica.com> wrote in message
> news:cukddo$s3e$1@digitaldaemon.com...
> 
>>Is there any information about following flags, their effects
>>and symbolic info produced by dmd.exe?
>>
>>-g
>>add symbolic debug info
> 
> 
> It adds codeview symbolic debug info for Windows, and Dwarf symbolic debug
> info for Linux.

Well... it tries to add the Dwarf symbolic debug info, but it doesn't seem to put the line numbers in correctly, so you still can't do stuff like step through a program, unless you want to step through the assembly.

John
February 13, 2005
Thanks a lot, Walter.


"Walter" <newshound@digitalmars.com> wrote in message news:cukgia$vit$1@digitaldaemon.com...
>
> "Andrew Fedoniouk" <news@terrainformatica.com> wrote in message news:cukddo$s3e$1@digitaldaemon.com...
>> Is there any information about following flags, their effects and symbolic info produced by dmd.exe?
>>
>> -g
>> add symbolic debug info
>
> It adds codeview symbolic debug info for Windows, and Dwarf symbolic debug info for Linux.
>
>> -gt
>> add trace profiling hooks
>
> www.digitalmars.com/ctg/trace.html
>
>> Andrew Fedoniouk.
>> http://terrainformatica.com
>>
>>
>
>