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:[email protected]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [email protected]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Scons-dev mailing list
[email protected]
http://two.pairlist.net/mailman/listinfo/scons-dev

Reply via email to