Compiling with gdc vs. gdmd

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Mon Apr 2 14:17:53 PDT 2012


On 02/04/12 18:34, Iain Buclaw wrote:
> This is equivalent to:
>
> gdc -O3 -frelease -finline-functions

Ah; thanks!  In fact -O2 -frelease suffices, it turns out.

Trass3r wrote:
> Basically -frelease is missing.
> Use -vdmd with gdmd to see the command.

Thanks, I'd missed that option on the man pages. :-\

According to this the actual result of gdmd -O -release -inline is:

   gdc -O3 -fweb -frelease -finline-functions

Follow-up question -- has there been any work on integration of gdc/gdmd in the 
GNU Autotools (autoconf, automake ...)?  If not, any recommendation of a good 
build system for use with gdc?

Thanks and best wishes,

     -- Joe


More information about the D.gnu mailing list