Compiling with gdc vs. gdmd

Trass3r un at known.com
Mon Apr 2 09:26:11 PDT 2012


>    gdmd -O -release -inline
>
> produces a much faster executable (about twice as fast) as the typical  
> gcc-style options I would use,
>
>    gdc -O2 [or -O3]
>
> Can anyone advise on appropriate gdc options to pick up the same speed  
> level?

Basically -frelease is missing.
Use -vdmd with gdmd to see the command.


More information about the D.gnu mailing list