SCons and gdc

H. S. Teoh hsteoh at quickfur.ath.cx
Wed Oct 31 09:54:47 PDT 2012


On Wed, Oct 31, 2012 at 02:55:29PM +0000, Russel Winder wrote:
> On Tue, 2012-10-30 at 09:53 -0700, H. S. Teoh wrote:
> […]
> > That's not a bad idea. I also noticed that gdc tends to produce smaller
> > executables when compiling in this way (I'm not sure why -- are
> > identical template instances not getting merged when compiling
> > separately?).
> 
> Is it fair to assume that DMD, LDC, and GDC all have the same behaviour
> in this respect?
[...]

Interesting, I just tested this with dmd (git HEAD), and it exhibits the
same effect too. Perhaps it's a good idea to do a single compile step
then.


T

-- 
What are you when you run out of Monet? Baroque.


More information about the Digitalmars-d mailing list