Compiling with gdc vs. gdmd
Alex Rønne Petersen
xtzgzorex at gmail.com
Mon Apr 2 15:48:21 PDT 2012
On 02-04-2012 23:17, Joseph Rushton Wakeling wrote:
> 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
The Waf meta build system has good support for both GDC and LDC.
--
- Alex
More information about the D.gnu
mailing list