Build all at once or…

Russel Winder russel at winder.org.uk
Sun Dec 22 00:21:34 PST 2013


There seems a dichotomy between "explicitly compile each d file (aka
module) and then link" versus "compile all the files (aka modules) at
once" especially since the objects for each file/module are created in
both cases.

I am assuming there are also some DMD/GDC/LDC2 differences as well.

Currently Dub is "compile all source at once" and SCons is "compile each
file individually and then link" (though I am currently using SCons in a
"compile all source at once" as an experiment to see what needs to
happen to the SCons D build support.

Is there some critical feature which means that "compile all source at
once" is a better route?

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20131222/45231dd6/attachment.sig>


More information about the Digitalmars-d-learn mailing list