Re: Compiling with gdc vs. gdmd

2012-04-02 Thread Alex Rønne Petersen
On 03-04-2012 04:35, Andrew Wiley wrote: On Mon, Apr 2, 2012 at 9:04 PM, Alex Rønne Petersen wrote: On 03-04-2012 01:19, Joseph Rushton Wakeling wrote: On 03/04/12 00:48, Alex Rønne Petersen wrote: The Waf meta build system has good support for both GDC and LDC. I'm reluctant to use Waf

Re: Compiling with gdc vs. gdmd

2012-04-02 Thread Andrew Wiley
On Mon, Apr 2, 2012 at 9:04 PM, Alex Rønne Petersen wrote: > On 03-04-2012 01:19, Joseph Rushton Wakeling wrote: >> >> On 03/04/12 00:48, Alex Rønne Petersen wrote: >>> >>> The Waf meta build system has good support for both GDC and LDC. >> >> >> I'm reluctant to use Waf due to the issues describe

Re: Compiling with gdc vs. gdmd

2012-04-02 Thread Alex Rønne Petersen
On 03-04-2012 01:19, Joseph Rushton Wakeling wrote: On 03/04/12 00:48, Alex Rønne Petersen wrote: The Waf meta build system has good support for both GDC and LDC. I'm reluctant to use Waf due to the issues described here ... :-( http://lists.debian.org/debian-devel/2010/02/msg00714.html Whi

Re: Compiling with gdc vs. gdmd

2012-04-02 Thread Joseph Rushton Wakeling
On 03/04/12 00:48, Alex Rønne Petersen wrote: The Waf meta build system has good support for both GDC and LDC. I'm reluctant to use Waf due to the issues described here ... :-( http://lists.debian.org/debian-devel/2010/02/msg00714.html

Re: Compiling with gdc vs. gdmd

2012-04-02 Thread Alex Rønne Petersen
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 comma

Re: Compiling with gdc vs. gdmd

2012-04-02 Thread Joseph Rushton Wakeling
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 page

Re: Compiling with gdc vs. gdmd

2012-04-02 Thread Iain Buclaw
On 2 April 2012 16:48, Joseph Rushton Wakeling wrote: > Hello all, > > First, congratulations to the GDC team -- I'm playing with D for the first > time in quite a while thanks to the up-to-date gdc 4.6 packages in the > upcoming Ubuntu LTS release.  It's great to see that D 2.0 now has this kind

Re: Compiling with gdc vs. gdmd

2012-04-02 Thread Trass3r
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 t

Compiling with gdc vs. gdmd

2012-04-02 Thread Joseph Rushton Wakeling
Hello all, First, congratulations to the GDC team -- I'm playing with D for the first time in quite a while thanks to the up-to-date gdc 4.6 packages in the upcoming Ubuntu LTS release. It's great to see that D 2.0 now has this kind of mainstream distro support. Anyway, a question about the