When specifying a tool chain is the order important? For example,
should:
Environment(tools=['gdc', 'gnulink'])
be the same or different from:
Environment(tools=['gnulink', 'gdc'])
Thanks.
--
Russel.
=
Hi Russel,
yes the order can be important, depending on which variables and
Builders are touched by the Tools. If both are working on disjunct sets
of settings there shouldn't be a difference though...but it's better to
not rely on this.
There is no enforcement rule saying that Tools always
Dirk,
0n Sun, 2012-11-11 at 10:56 +0100, Dirk Bächle wrote:
Hi Russel,
yes the order can be important, depending on which variables and
Builders are touched by the Tools. If both are working on disjunct sets
of settings there shouldn't be a difference though...but it's better to
not
On Sun, 2012-11-11 at 10:49 +, Russel Winder wrote:
[…]
tools=['g++', 'gnulink']
and
tools=['gnulink', 'g++']
[…]
Both these orders work fine, so if it works like this for C++ then is
should work like this for the three D compilers.
--
Russel.
Order is very important in Scons with the way some tools are defined, or when
tools tend to rely on common tools. For example Fortran and c compiler tend to
depend on the same linker. If the linker is defined with a C bias it makes it
hard to set up fortran builds. More so when you have a mix