[Scons-dev] D Tools

Russel Winder russel at winder.org.uk
Mon Dec 17 12:55:47 EST 2012


On Sat, 2012-12-15 at 13:20 -0800, Bill Deegan wrote:


> So yielding a command line like this:

> gcc -o myprogram a.c b.c. d.c -lsomelibrary


Or building a static library, but yes. In a straw poll it seems there
are actually three modes of compiling D:

0. Compile all sources into a single result.

1. Compile packages all source at once to a binary, and then use the
packages with other source to create a result.

2. Compile all files individually and then assemble the result.

0 is the favourite for small applications. 1 seems to be preferred for
large systems. 2 is needed occasionally in some dark corner cases, but
is very rare – unlike with C, C++, Fortran where it is the norm.

--
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: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : <http://two.pairlist.net/pipermail/scons-dev/attachments/20121217/1a8ebb45/attachment.pgp>


More information about the Scons-dev mailing list